[Webkit-unassigned] [Bug 11049] New: XMLHttpRequest always defaults Content-Type to application/xml, while it should depend on data type
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Sep 26 12:24:20 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=11049
Summary: XMLHttpRequest always defaults Content-Type to
application/xml, while it should depend on data type
Product: WebKit
Version: 420+ (nightly)
Platform: Macintosh
URL: http://dev.w3.org/cvsweb/~checkout~/2006/webapi/XMLHttpR
equest/Overview.html?content-
type=text/html;%20charset=utf-8
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: XML
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: ap at nypop.com
In bug 3565, we changed the default XMLHttpRequest Content-Type from
"application/x-www-form-urlencoded" to "application/xml", to better match
Firefox.
The current draft of XHR spec describes somewhat different behavior - most
notably, Content-Type shouldn't be automatically set for non-Document data at
all.
"If the argument to send() is a Document and no Content-Type header has been
set user agents must set it to application/xml for XML documents and to the
most appropriate media type for other documents (using intrinsic knowledge
about the document)."
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list