Re: [whatwg/fetch] interop: content-type for blob fetch with invalid type (Issue #1693)

Yeah, I think the correct long term answer here is that blobs have an internal type slot that is either a MIME type or null. When Fetch serializes that it either gets a valid MIME type or the empty byte sequence.

(At least, I think elsewhere we already settled on using the empty byte sequence as `Content-Type` value. And while that's not great, it's also not the worst. Certainly much better than `invalid`.)

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

Message ID: <whatwg/fetch/issues/1693/1691559070@github.com>

Received on Thursday, 24 August 2023 12:11:25 UTC