Commit 47ae543e 47ae543e5a2b4626499f3e4b57567890278016f1 by Rafael

allow specification of raw query string

this is useful in cases where there are hidden form fields you need to grab via something like

```
var form_data = this.evaluate(function() {
  return jQuery('form').serialize();
});
var base64contents = this.base64encode(form_url, 'POST', form_data);
```
1 parent 6cc9c8ee
......@@ -303,6 +303,8 @@
}
dataString = dataList.join('&');
this.log("getBinary(): Using request data: '" + dataString + "'", "debug");
} else if (typeof data === "string") {
dataString = data;
}
xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
}
......