On Wed, 1 May 2024 21:12:05 GMT, robert engels <d...@openjdk.org> wrote:
>> improve the HttpExchange api with documented constants and convenience >> methods to avoid common bugs > > robert engels has updated the pull request incrementally with two additional > commits since the last revision: > > - Merge remote-tracking branch 'robaho/HttpExchange-api-change' into > HttpExchange-api-change > > # Conflicts: > # > src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java > - update api changes based on comments I think a "body" type interface, that provided content types, lengths, etc. would be great, but I think that is a bigger hill to climb. This was an attempted backward compatible easy fix to lessen the chance of future errors. ------------- PR Comment: https://git.openjdk.org/jdk/pull/18955#issuecomment-2089327877