RFR: 8355572: Support HTTP Range requests in Simple Web Server [v6]

Michael McMahon michaelm at openjdk.org
Fri Oct 31 11:54:06 UTC 2025


On Fri, 31 Oct 2025 11:37:40 GMT, Peyang <duke at openjdk.org> wrote:

> > One comment - we probably should send the "Accept-Ranges" header in response to a HEAD request also.
> 
> Thanks for the comment. Just to note, `Accept-Ranges` is already included in responses to HEAD file requests as well, i think.

Ah yes. I see now that `serveFile()` is called for HEAD requests also.

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

PR Comment: https://git.openjdk.org/jdk/pull/28021#issuecomment-3472734502


More information about the net-dev mailing list