Merge pull request #164 from ath0mas/patch-1

Fix argument double encoding for HttpHead
This commit is contained in:
Sefa Ilkimen 2018-12-06 18:03:16 +01:00 committed by GitHub
commit bf616fc6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);