| Summary: | Send the supported image mimetypes in the HTTP request header for main resource | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | yann |
| Component: | Images | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | achristensen, beidson, hi+webkit, sabouhallawa, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | Safari 14 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=211735 | ||
|
Description
yann
2021-05-08 13:20:32 PDT
I’ve noticed that in Safari 16 the `Accept` header now seems correct for image requests that are part of an HTML document, but incorrect when loading an image directly. For example, I get this request header on web pages I visit `Accept:image/avif,image/webp,…` (truncated for brevity) but the same `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8` when opening the image in its own tab. |