-
Sub-task
-
Resolution: Delivered
-
P4
-
18
-
Verified
`URLConnection` has been fixed to return multiple header values for a given field-name in the order in which they were added.
Previously, if a `URLConnection` contained multiple header values for a given header field-name, when retrieved by using the `HttpURLConnection::getHeaderFields` and the `URLConnection::getRequestProperties` methods, they would be returned in the reverse order to which they were added.
This has been fixed to conform to RFC2616, which explicitly states that the order matters and thus, should be maintained.
Previously, if a `URLConnection` contained multiple header values for a given header field-name, when retrieved by using the `HttpURLConnection::getHeaderFields` and the `URLConnection::getRequestProperties` methods, they would be returned in the reverse order to which they were added.
This has been fixed to conform to RFC2616, which explicitly states that the order matters and thus, should be maintained.