[Webkit-unassigned] [Bug 176116] 406 Error for XSLT due to ommission of correct/registered MIME type from Accept header

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 30 16:48:18 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=176116

--- Comment #4 from Andy Schmidt <Andy_Schmidt at HM-Software.com> ---
No, this is not a problem with content "negotiation" per se (I only referenced that to explain the purpose of the HTTP 406).

The problem is that Safari generates an ACCEPT header that OMITS the only MIME type that (for several years now) actually has been registered for XSLT documents. By lacking the "*/*" as the least priority, it explicitly advises the server that Safari does not "understand" the "application/xslt+xml" MIME type.

Your work-around does not apply for some servers (in this case IIS). Often the server administrator can NOT selectively disable the honoring of a client's improper Accept header. 

If Safari is willing to accept "application/xslt+xml" then it needs to use the appropriate header. 

If Safari does not WANT content negotiation (as you suggest) for XSLT, then NO Accept header should be transmitted in the first place - or it should include "*/*".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170830/6d03abef/attachment.html>


More information about the webkit-unassigned mailing list