[whatwg/fetch] Fetching as a particular type (#521)

Some browsers will change their headings based on the type of request, eg Chrome will include `image/webp` in the `Accept` header for image requests.

Should we have an API to create requests that contain these details? Eg `Request.as('image', url, opts)`.

Moved from https://github.com/w3c/ServiceWorker/issues/945

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

Received on Friday, 31 March 2017 00:36:50 UTC