<div dir="auto">Adding for context that there are legitimate usages for this that are within the jdk httpserver's remit of jwebserver and educational purposes. Cheerpj would let a student run their java code in a browser and requires range headers support.</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, Oct 22, 2025, 7:23 AM Daisuke Yamazaki <d.yamazaki@peya.tokyo> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
I would like to work on implementing Range header support for jwebserver,<br>
related to JDK-8355572.<br>
Before I start working on it, i'd like to confirm whether it's okay for me to<br>
take this issue.<br>
<br>
Here's my current design idea:<br>
<br>
1. Introduce a RangeEntry record inside FileServerHandler to represent <br>
each requested range<br>
2. In FileServerHandler.serveFile(), detect the Range header and parse it into<br>
a list of RangeEntry objects.<br>
If parsing fails or the range is invalid, return 416 Range Not Satisfiable.<br>
3. If multiple ranges are specified, generate a random boundary <br>
string and return a multipart/byteranges response.<br>
<br>
Please let me know if it’s okay for me to proceed with this implementation,<br>
or if there are any design points I should consider before starting.<br>
<br>
Thanks,<br>
D. Yamazak<br>
</blockquote></div>