Skip to main content

HttpURLConnection: set which request headers to use and the order

No replies
lampno
Offline
Joined: 2007-02-05
Points: 0

HttpURLConnection force us to use default request headers;
Take the example of the GET request, I can't request without the Accept, Connection and Content-type headers.
The order I think it can be set with the setRequestProperty.

Please add this to the HttpURLConnection.