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
Blob's type attribute is also defined as being lowercase. And while the MIME parsing algorithm does ASCII-lowercase the MIME record's type, subtype, and parameter names, it doesn't lowercase parameter values. See enforce lowercase letter on multipart boundary whatwg/html#6251 for a case where it matters.
The second point implies that on a response coming from the fetch API that for whatever reason happened to have the MIME type multipart/form-data; boundary=cadena-de-separación (notice the ó), response.formData() might succeed but response.blob() would fail, which would seem paradoxical.
The third point implies that if, for whatever reason, there was a response coming from the fetch API which contained an actual multipart/form-data payload coming from Chromium or WebKit (since they start their boundary strings with WebKitFormBoundary), and a developer decoded it as a Blob; trying to parse that blob afterwards with new Request(blob).formData() would fail, since the boundary string seems to be parsed case-sensitively.
Activity
annevk commentedon Apr 26, 2021
This is largely a duplicate of #43 I think.
andreubotella commentedon May 11, 2021
Points 2 and 3 can be part of #43, but the first point is an unrelated editorial fix. I'll file a PR.
Editorial: Remove any references to "parsable MIME type"
buffer: introduce Blob