RESOLVED DUPLICATE of bug 11049 34654
Content-Type Header set as "application/xml" when Content-Type header is not set by setRequestHeader method.
https://bugs.webkit.org/show_bug.cgi?id=34654
Summary Content-Type Header set as "application/xml" when Content-Type header is not...
sangeetha.sugavanam
Reported 2010-02-05 10:57:27 PST
Steps to Reproduce: 1) Launch QtLauncher. 2) Save the attached webpage. 3) Load the attached webpage using qtLauncher. Expected Result: =============== - "HTTP_CONTENT_TYPE:text/plain; charset=UTF-8" should be displayed in the list. Actual Result: ============== - "HTTP_CONTENT_TYPE:application/xml" is displayed in the list. Additional Info: ================ 1. Test Assertion : Invoke Send with in parameter Data as Document - If no Content-Type header has been set using setRequestHeader() set a Content-Type request header with a value of text/plain;charset=UTF-8. 2. W3c spec link - http://dev.w3.org/cvsweb/~checkout~/2006/webapi/XMLHttpRequest/Overview.html?rev=1.209&content-type=text/html;%20charset=iso-8859-1 3. Pls refer : Section 4.6.3 - Alogorithm 3 under "data is a DOMString
Attachments
Test files (1.54 KB, application/x-zip-compressed)
2010-02-05 10:59 PST, sangeetha.sugavanam
no flags
sangeetha.sugavanam
Comment 1 2010-02-05 10:59:42 PST
Created attachment 48242 [details] Test files
Alexey Proskuryakov
Comment 2 2010-02-05 21:45:36 PST
This is not specific to Qt. *** This bug has been marked as a duplicate of bug 11049 ***
Note You need to log in before you can comment on or make changes to this bug.