Commit 5986c244 5986c244fc15198948103cfabe2e6cd1a88bc176 by Nicolas Perriault

Merge pull request #86 from rgarcia/patch-1

allow specification of raw query string for POST in ClientUtils.getBinary()
2 parents 6cc9c8ee 47ae543e
...@@ -303,6 +303,8 @@ ...@@ -303,6 +303,8 @@
303 } 303 }
304 dataString = dataList.join('&'); 304 dataString = dataList.join('&');
305 this.log("getBinary(): Using request data: '" + dataString + "'", "debug"); 305 this.log("getBinary(): Using request data: '" + dataString + "'", "debug");
306 } else if (typeof data === "string") {
307 dataString = data;
306 } 308 }
307 xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); 309 xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
308 } 310 }
......