2009-03-06 Gustavo Noronha Silva <gns@gnome.org>
authorkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2009 15:54:58 +0000 (15:54 +0000)
committerkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2009 15:54:58 +0000 (15:54 +0000)
commit6502c654edc4a0254ce8ed8608880a0b5c644393
tree531a6254f43932187a8c9dbbbb4a9da57c5781cb
parentf57ca1aca17c351d88bd443f621bf8424b7060b5
2009-03-06  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed by Holger Freyther.

        https://bugs.webkit.org/show_bug.cgi?id=24051
        Soup backend needs content sniffing capabilities

        Perform content sniffing when using soup, so that we have a chance
        of figuring out the Content-Type of the file if it's not sent by
        the server.

        * platform/network/ResourceHandleInternal.h:
        (WebCore::ResourceHandleInternal::ResourceHandleInternal):
        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::gotHeadersCallback):
        (WebCore::gotChunkCallback):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@41481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/ResourceHandleInternal.h
WebCore/platform/network/soup/ResourceHandleSoup.cpp