Re: [whatwg/fetch] Interop issue with range requests when the server sends more bytes than it says (#1295)

There must be more to this.

Demo: https://github.com/jakearchibald/send-more-bytes-than-length

This has an HTTP/1.1 endpoint that sets a `Content-Length` of 1000 but sends 1500 bytes.

Chrome, Firefox, and Safari all successfully receive the response truncated to 1000 bytes. The server definitely sends all 1500 bytes.

Maybe things are different with chunked encoding, or HTTP/2?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1295#issuecomment-899368253

Received on Monday, 16 August 2021 09:35:06 UTC