Fix argument double encoding for HttpHead

To follow #157 that fixed double encoding on file download
This commit is contained in:
Alexis THOMAS
2018-11-26 10:37:21 +01:00
committed by GitHub
parent b5ec508c30
commit c31765bbcd
@@ -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);