Skip to content

Commit

Permalink
Merge pull request android-async-http#9 from jlsuttles/master
Browse files Browse the repository at this point in the history
Small fix to put(url, params, responseHandler)
  • Loading branch information
loopj committed Jul 28, 2011
2 parents 6186f58 + e63492b commit 9ecd147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/loopj/android/http/AsyncHttpClient.java
Expand Up @@ -340,7 +340,7 @@ public void put(String url, AsyncHttpResponseHandler responseHandler) {
* @param responseHandler the response handler instance that should handle the response.
*/
public void put(String url, RequestParams params, AsyncHttpResponseHandler responseHandler) {
put(null, params, responseHandler);
put(null, url, params, responseHandler);
}

/**
Expand Down Expand Up @@ -457,4 +457,4 @@ public long getContentLength() {
return -1;
}
}
}
}

0 comments on commit 9ecd147

Please sign in to comment.