- From: Thomas Steiner <notifications@github.com>
- Date: Mon, 20 Nov 2017 15:32:08 +0000 (UTC)
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 20 November 2017 15:32:47 UTC
Generic ```Accept``` headers like, for example, ```*/*``` for [images in Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1249474) make dealing with such requests in a Service Worker context [hard](http://twitter.com/justmarkup/status/926793878950367232) and encourage relying on [file extension sniffing](https://justmarkup.com/log/2017/11/network-based-image-loading/), especially as there is [no consistency](https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation/List_of_default_Accept_values#Values_for_an_image) among how browsers deal with setting this value. This issue is somewhat related to https://github.com/whatwg/fetch/issues/521 for dynamically created ```Request```s , but also covers static fetches coming from ```img```, ```script```, ```link```, *etc.* @wanderview [suggested](https://github.com/w3c/ServiceWorker/issues/1206#issuecomment-341991783) to open an Issue with Fetch in order to discuss this. -- 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/634
Received on Monday, 20 November 2017 15:32:47 UTC