[Webkit-unassigned] [Bug 34654] New: Content-Type Header set as "application/xml" when Content-Type header is not set by setRequestHeader method.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 5 10:57:27 PST 2010


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

           Summary: Content-Type Header set as "application/xml" when
                    Content-Type header is  not set by setRequestHeader
                    method.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Qt
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sangeetha.sugavanam at nokia.com


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

-- 
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