You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The blob() method steps are to return the result of running consume body with this and the following step given a byte sequence bytes: return a Blob whose contents are bytes and whose type attribute is the result of get the MIME type with this.
If get the MIME type return a null value when it failed to extracting a MIME type from headers:
To get the MIME type, given a Request or Response object requestOrResponse:
4. Let mimeType be the result of extracting a MIME type from headers.
5. If mimeType is failure, then return null.
6. Return mimeType.
I think In blob() method we need to either set type to an empty string or throw a TypeError like formData() does.
The text was updated successfully, but these errors were encountered:
What is the issue with the Fetch Standard?
In the blob() method:
If get the MIME type return a null value when it failed to extracting a MIME type from headers:
I think In
blob()
method we need to either set type to an empty string or throw a TypeError like formData() does.The text was updated successfully, but these errors were encountered: