Summary: | Proposed new Accept HTTP header | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nicholas Shanks <nickshanks> | ||||
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap, ddkilzer | ||||
Priority: | P2 | ||||||
Version: | 420+ | ||||||
Hardware: | Mac | ||||||
OS: | OS X 10.4 | ||||||
Attachments: |
|
Description
Nicholas Shanks
2007-01-16 15:03:24 PST
Created attachment 12495 [details]
new accept header
Oh, and I removed text/plain too, because that's the apache default for formats it's never heard of, like .backup and .temp, and having it override common things like image/jpeg is bad IMHO. It would be interesting to know what other browsers (Firefox, Opera and MSIE) send. (In reply to comment #3) The current string was copied from Firefox verbatim, bug 9572. The current string is sent by FF for it's mainResource, but for <img> sources it sends only "image/png,*/*;q=0.5" and for stylesheets "text/css,*/*;q=0.1". Opera 9 sends "text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1" for every request. IE sends "*/*" for normal requests, and "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*" for images. Most feed readers (desktop & web-based) don't send any Accept string. AppleSyndication sends "*/*". The Google and Yahoo search bots send "*/*" The MSN bot sends "text/html, text/plain, text/xml, application/*, Model/vnd.dwf, drawing/x-dwf" (In reply to comment #5) > The current string is sent by FF for it's mainResource, but for <img> sources > it sends only "image/png,*/*;q=0.5" and for stylesheets "text/css,*/*;q=0.1". Does WebKit send the same string for the main resource and subresources? I believe that would be a regression. WebKit sends "*/*" for all non-mainResource requests. |