[Webkit-unassigned] [Bug 11049] XMLHttpRequest always defaults Content-Type to application/xml, while it should depend on data type
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Nov 4 15:29:37 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=11049
--- Comment #5 from Alexey Proskuryakov <ap at webkit.org> 2009-11-04 15:29:37 PDT ---
> Mozilla uses (like the current version of WebKit): application/xml
> IE8: does not set the header at all.
>
> To me neither is quite correct, but I'd pick IE over Mozilla since the content
> of the string may not necessarily be XML.
That's actually a violation of RFC2616: "Any HTTP/1.1 message containing an
entity-body SHOULD include a Content-Type header field defining the media type
of that body."
Based on the above data, I'd say that we should probably preserve our behavior
for now, and consult with Mozilla on when/if they are going to change Gecko
behavior.
--
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