mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-04-24 00:00:03 +08:00
Fix argument double encoding for HttpHead
To follow #157 that fixed double encoding on file download
This commit is contained in:
@@ -23,7 +23,7 @@ class CordovaHttpHead extends CordovaHttp implements Runnable {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
HttpRequest request = HttpRequest.head(this.getUrlString(), this.getParamsMap(), true);
|
||||
HttpRequest request = HttpRequest.head(this.getUrlString(), this.getParamsMap(), false);
|
||||
|
||||
this.prepareRequest(request);
|
||||
this.returnResponseObject(request);
|
||||
|
||||
Reference in New Issue
Block a user