On Thu, 2 Oct 2025 20:06:14 GMT, Josiah Noel <[email protected]> wrote:

> As specified in 
> [JDK-8368955](https://bugs.openjdk.org/browse/JDK-8368955?jql=project%20in%20(JDK)%20AND%20component%20in%20(core-libs)%20AND%20Subcomponent%20in%20(java.net)),
>  adds some constants to HttpExchange to make `sendResponseHeaders` more 
> usable.

Hello Josiah, it's good to see these changes.

I've added just a few trivial review comments inline. The copyright year on the 
file will need an update to `2005, 2025,`.

src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java line 
75:

> 73: 
> 74:      /**
> 75:       * No response body is being sent with this response

Nit - instead of "with this response", it might be better to say "with the 
response"

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

PR Review: https://git.openjdk.org/jdk/pull/27613#pullrequestreview-3297400085
PR Review Comment: https://git.openjdk.org/jdk/pull/27613#discussion_r2400776031

Reply via email to