New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Head request #9
Comments
@amervelic : HEAD request is useful for retrieving meta-information written in response headers, without having to transport the entire content. So the response is empty. Any there is a bug that I will fix to expose the headers as a response in upcoming release. As of you can not get the headers as it is not exposed. |
@amervelic : fixed in development branch |
In version 0.1.0 there is no way to access headers from server. I have added it in version 0.2.0. The sample code is :
|
I need example HEAD request. I tried this
AndroidNetworking.head (BASE_URL)
.addQueryParameter ("username", username)
.addQueryParameter ("password", password)
.setPriority (Priority.MEDIUM)
.build ()
.getAsString (stringRequestListener);
But the response is an empty string.
The text was updated successfully, but these errors were encountered: