Re: [whatwg/fetch] data: URLs and Content-Length header (Issue #1834)

YUVI43 left a comment (whatwg/fetch#1834)

I do like to solve your problem According to the current Fetch specification (https://fetch.spec.whatwg.org/#scheme-fetch), `data:` URL requests are required to return a response with a "Content-Type" header, but there's no mention of a required or optional "Content-Length" header. This differs from `blob:` URLs, where a "Content-Length" may be more appropriate or expected.
Thanks!

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

Message ID: <whatwg/fetch/issues/1834/3151817874@github.com>

Received on Monday, 4 August 2025 17:54:00 UTC