[Webkit-unassigned] [Bug 170849] A blob created from a fetch response does not correctly get type set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 14 10:25:01 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170849

--- Comment #1 from David Alan Hjelle <dahjelle.webkit.org at thehjellejar.com> ---
In case anyone comes here with this problem, a workaround:

```
let new_blob = new Blob([blob], {type: 'application/pdf'});
```

Then the new_blob works fine, as it has the correct content-type.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170414/09e66e00/attachment.html>


More information about the webkit-unassigned mailing list