bryancall opened a new issue #7099:
URL: https://github.com/apache/trafficserver/issues/7099


   If a browser that support webp makes a requests through ATS and the origin 
responds with Content-Type: image/webp that is cacheable ATS will cache the 
content.  If a browser that doesn't support webp, like Safari, then makes a 
request ATS will serve back the image/webp response.  This is because browser's 
send image/* and */* in their Accept: header.
   
   Request from Safari that doesn't support webp:
   ```
   +++++++++ Incoming Request +++++++++
   -- State Machine Id: 0
   GET 
http:///eyJrZXkiOiJ1cGxvYWRzL21lZGl1bS9hc3NldC8xODE4L3Rlc2xhX3dpdGhfYV9yb3NlX29uX3RvcF9vZl9pdC5qcGciLCJidWNrZXQiOiJvc2xvLXByb2R1Y3Rpb24iLCJlZGl0cyI6eyJyZXNpemUiOnsid2lkdGgiOjcwMCwiaGVpZ2h0IjpudWxsfX19
 HTTP/1.1
   Host: 192.168.1.10:8080
   Connection: keep-alive
   Accept: image/png,image/svg+xml,image/*;q=0.8,video/*;q=0.8,*/*;q=0.5
   User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) 
AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
   Accept-Language: en-us
   Referer: http://192.168.1.10:81/safari.html
   Accept-Encoding: gzip, deflate
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to