> On 2025 Apr 15, at 09:32, Christopher Schultz <ch...@christopherschultz.net> 
> wrote:
> 
> Chenjp,
> 
> On 4/14/25 5:46 AM, Justin Chen wrote:
>> Main branch: Receive unexpected 400 for curl put with content-range header 
>> value "bytes 0-0/1" and
>> -d c.
>> PR submitted.
> 
> I think HTTP 400 is the correct response for this. You are saying "I'd like 
> to update bytes 0-0 (a zero-width update) with this one byte". It's an 
> invalid request.


The range setting is inclusive, so 0-0 is a 1-byte range.

  - Chuck


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to