Other |
---|
5.0 tigerFixed |
Relates :
|
Problem with the implementation of sun.net.www.protocol.http.HttpURLConnection.mapToMessageHeader. Because Map doesn't preserve orders, in this case, the status line is not necessarily returned first in it's iterator. But getResponseCode() depends on the fact that the status line is always at the first line of a MessageHeader. The fix is to make sure the status line is always prepended into the MessageHeader.
|