[Webkit-unassigned] [Bug 31140] New: [Qt] Allow setting HTTP headers with empty value in XMLHTTPRequest

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 4 13:24:23 PST 2009


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

           Summary: [Qt] Allow setting HTTP headers with empty value in
                    XMLHTTPRequest
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: XML
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yael.aharon at nokia.com


The following script fragment should add a request header to xhr, but in Qt it
does not
   xhr.setRequestHeader("Custom", "");

The reason is that a NULL value causes QNetworkRequest::setRawHeader to remove
the header, instead of adding it.

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