[Webkit-unassigned] [Bug 27267] HTTP Accept header gives preference of XML over HTML
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 10 11:02:45 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=27267
--- Comment #20 from Kris Jordan <krisjordan at gmail.com> 2011-03-10 11:02:45 PST ---
(In reply to comment #18)
> (From update of attachment 82508 [details])
> I don't understand the change in XHTMLMP case. Why downgrade application/xml, but not application/xhtml+xml?
Two motivations:
1) The heart of this issue is making sure application/xml is downgraded below text/html. How text/html and application/xhtml+xml are arranged is, relatively, inconsequential. I did not want to change any more than was necessary to resolve the fundamental issue of this ticket.
2) (This is *much* more nit picking and *much* less important.) 'application/xhtml+xml;profile='http://www.wapforum.org/xhtml' is not equivalent to 'application/xhtml'. It implies the server should only serve application/xhtml+xml if it can do so with that specific WAP profile. Technically, by the HTTP spec, the XHTMLMP accept header prioritizes a generic 'application/xhtml' below 'application/xml' because it falls under the expansion of */*. In practice, servers often ignore the profile parameter.
> I suggest leaving XHTMLMP unchanged, for people who care about it (if any) to consider consequences of changing the Accept string.
I don't know who or what uses the XHTMLMP case, and I don't have a problem leaving it alone, but I do believe it is a win to get HTML > XML in any case. Let me know if you need me to resubmit sans the XHTMLMP change for this to continue making progress.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list