RFR: 8133686: HttpURLConnection.getHeaderFields and URLConnection.getRequestProperties methods return field values in reverse order [v2]
Evan Whelan
ewhelan at openjdk.java.net
Fri Jan 29 11:03:07 UTC 2021
> Hi all,
>
> Please review this fix for which corrects the order in which field values are returned from the `HttpURLConnection.getHeaderFields` and `URLConnection.getRequestProperties` methods.
>
> Currently, the implementation of these methods returns the values in reverse. This does not conform with the RFC2616 spec which outlines that the order of these field values should not be changed.
>
> Thanks,
> Evan
Evan Whelan has updated the pull request incrementally with one additional commit since the last revision:
URLConnection doc fixes
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/2294/files
- new: https://git.openjdk.java.net/jdk/pull/2294/files/e332fff5..1a74ae6e
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2294&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2294&range=00-01
Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/2294.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2294/head:pull/2294
PR: https://git.openjdk.java.net/jdk/pull/2294
More information about the net-dev
mailing list