[Webkit-unassigned] [Bug 12099] New: XMLHttpRequest shouldn't honor a charset specified via setRequestHeader

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 3 08:56:01 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12099

           Summary: XMLHttpRequest shouldn't honor a charset specified via
                    setRequestHeader
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org


Overriding Content-Type as 

req.setRequestHeader("Content-Type", "text/plain; charset='some-encoding'");
req.send(aString);

makes the sent string be encoded as "some-encoding" in WebKit, but not in MSIE
or Firefox, where it's always sent as UTF-8. The XMLHttpRequest spec draft
mandates IE/Firefox behavior, of course.

Additionally, looking at Content-Type further complicates the choice of
encoding for documents, see bug 11695.


-- 
Configure bugmail: http://bugs.webkit.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