[Webkit-unassigned] [Bug 69972] New: Spurious warnings when receiving HTTP response code 204

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 15:41:41 PDT 2011


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

           Summary: Spurious warnings when receiving HTTP response code
                    204
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rodarmor at google.com


1. Open the console

2. Navigate to google.com

3. Observe the warning: "Resource interpreted as Other but transferred with MIME type undefined." 

(you can repeat the warning by entering https://clients1.google.com/generate_204 into the url bar)

I think what's going on here is that the code that generates the warning isn't checking for a 204 status code. As far as I can tell, since a 204 by definition doesn't have any content, this warning is unnecessary.  The relevant code is in:

/Source/WebCore/inspector/front-end/NetworkManager.js:_updateResourceWithResponse

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