Re:A file that's both an acceptable HTML page and a JPEG (vi...
by gwillen on Friday July 06, 2012 @07:54PM
(#4210151)
I suspect that's doing some kind of autodetection to decide which version of the page to serve. (Perhaps based on what MIME type the browser requests.)
[ Parent
| on HN ]
Re:A file that's both an acceptable HTML page and a JPEG (vi...
by 1880 on Saturday July 07, 2012 @07:19PM
(#4213020)
Yep. In Chrome, pasting the URL in the address bar:
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Embedding the URL as a <img> element in a HTML file: Accept:*/*