Integrated: 8133686: HttpURLConnection.getHeaderFields and URLConnection.getRequestProperties methods return field values in reverse order
Evan Whelan
ewhelan at openjdk.java.net
Thu Sep 9 10:27:05 UTC 2021
On Thu, 28 Jan 2021 16:42:02 GMT, Evan Whelan <ewhelan at openjdk.org> wrote:
> 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
This pull request has now been integrated.
Changeset: 00e059dd
Author: Evan Whelan <ewhelan at openjdk.org>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/00e059ddb34b5f2d6ba1ea0f38308c5b382a8e4d
Stats: 419 lines in 7 files changed: 373 ins; 31 del; 15 mod
8133686: HttpURLConnection.getHeaderFields and URLConnection.getRequestProperties methods return field values in reverse order
Reviewed-by: dfuchs
-------------
PR: https://git.openjdk.java.net/jdk/pull/2294
More information about the net-dev
mailing list