Re: [whatwg/fetch] blob url fetch with no mime type set is undefined (Issue #1436)

Hey @dlrobertson, thank you for looking into this.

Looking at https://w3c.github.io/FileAPI/ and https://fetch.spec.whatwg.org/#concept-scheme-fetch Safari would be correct here. I could see adopting Chromium's behavior whereby we special case the empty string value though and not set the `Content-Type` header in that case, especially as the empty string does not end up parsing like a successful MIME type according to https://mimesniff.spec.whatwg.org/#parse-a-mime-type.

Making up a MIME type as Firefox does could be acceptable, but seems a little weird and non-standard.

@youennf @KershawChang thoughts?

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

Message ID: <whatwg/fetch/issues/1436/1122102588@github.com>

Received on Tuesday, 10 May 2022 08:41:25 UTC