[Webkit-unassigned] [Bug 27730] New: Gravatar images are said to be sent as text/html, 0B in size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 27 13:25:10 PDT 2009


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

           Summary: Gravatar images are said to be sent as text/html, 0B
                    in size
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Images
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: doenietzomoeilijk at gmail.com


What happened:

Recently I was digging in the Web Inspector for a javascript problem on my web
site, when I noticed some warnings. They turned out to be about the Gravatar (a
global avatar system) images; they were reported as being interpreted as
images, but transferred with MIME type text/html. Also, in the Resources tab,
they show up as being 0KB in size. I can click the filename next to the warning
and get a screenful of info about the image, just like it does with any other
image.

What I did:

I first took this to the Gravatar people, but they said they heard about it
before and believed it to be a WebKit-related bug:

> I believe this to be a superfluous notice generated by webkit (upon which safari is built.)  While it's not been registered as
> a "bug" it also happens on a great many other files such as google adsense, google analytics, quantcast, and more..
> 
> There are several cases in which webkit can generate these messages, including but probably not limited to, 301/302
> redirects (which are themselves, in fact, not images) and 304 not-modified cached objects

When I directly request one of the images, it displays fine, but there's
another warning: Resource interpreted as document but transferred with MIME
type image/jpeg. This time, I can't click the filename, and in the resources
pane on the left it's shown as a document, not an image. Well, at least that's
consistent with the warning. =]

When I request the image using curl on the command line, I see nothing wrong.
Headers are OK, and I get JPEG data. Firefox doesn't give me any warnings or
whatever either.

Steps to Reproduce:

* Visit a page that has Gravatars 
   (http://doenietzomoeilijk.nl/archief/update-op-dat-hyves-verhaal/ and
  
http://hetnieuwenederland.wordpress.com/2009/02/12/hyperrationalisme-what-to-do-about-it/
are examples
* Open the web inspector
* Look at the console

Other versions/platforms:
I encounter this in both Safari itself and in the latest Nightly of WebKit on
the Mac. I haven't been able to test under Windows.

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