RFR: 8368695: Support 101 switching protocol in jdk.httpserver [v3]

Josiah Noel duke at openjdk.org
Mon Oct 13 16:53:41 UTC 2025


On Mon, 13 Oct 2025 16:32:27 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> GET requests usually don't have bodies
>
> But does upgrade require GET?

Every example I see in online and in the RFC shows a GET method, but you are correct in that the [RFC does not appear to forbid non-GET methods](https://www.rfc-editor.org/rfc/rfc9110.html#name-upgrade). WebSockets exclusively use GET though.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/27751#discussion_r2426850952


More information about the net-dev mailing list