Workaround for <rdar://problem/5386894> CFURLResponseGetMIMEType returns...
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 5 Aug 2007 03:04:47 +0000 (03:04 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 5 Aug 2007 03:04:47 +0000 (03:04 +0000)
commit2cffbd88c1de132ed40784c0d6f5673bb8d00a97
tree99735698bc49f5c899e45cfb7636c1c41effdac6
parent21ca67c9e3cc51dd7d9447adb26e814452505af4
    Workaround for <rdar://problem/5386894> CFURLResponseGetMIMEType returns "text/html" for local .xhtml and .xml files

        Reviewed by Sam.

        This fixes ~350 failing tests.

        * platform/network/cf/ResourceResponseCFNet.cpp:
        (WebCore::ResourceResponse::doUpdateResourceResponse): Use a workaround
        identical to the one in ResourceResponseMac.mm, but include .xml files
        as well.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@24871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/cf/ResourceResponseCFNet.cpp