[Webkit-unassigned] [Bug 170985] Failed to fetch with undefined headers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 20 18:51:38 PDT 2017


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

--- Comment #2 from cybai <cyb.ai.815 at gmail.com> ---
Hi youenn fablet,

Yes, I've tried to use empty object to handle this issue and it works fine.

Ex.
``` 
fetch('/my-awesome-api', { headers: headers || {} });
```

Hope it will be released soon, thanks!

-- 
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/20170421/1dbeaf94/attachment-0001.html>


More information about the webkit-unassigned mailing list