Release Note: HttpURLConnection's getHeaderFields and URLConnection.getRequestProperties Methods Return Field Values in the Order They Were Added

XMLWordPrintable

    • 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.

            Assignee:
            Evan Whelan (Inactive)
            Reporter:
            Evan Whelan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: