Reviewed by Maciej.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jul 2006 16:45:13 +0000 (16:45 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jul 2006 16:45:13 +0000 (16:45 +0000)
commit263657ee5eff60a639279b312f59cdc0be61d2e0
treed62862120e780017d0d812bec325ce3ae4928b73
parentd42545f8ae2c9ba91e3de3c610dc4702e894d566
    Reviewed by Maciej.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=8210
        Conditional XMLHttpRequest gets should pass 304 responses unchanged

        Test: http/tests/xmlhttprequest/cache-override.html

        * Misc/WebNSURLRequestExtras.h: Added _web_isConditionalRequest
        * Misc/WebNSURLRequestExtras.m:
        (-[NSURLRequest _web_isConditionalRequest]):
        * WebCoreSupport/WebFrameBridge.m:
        (-[WebFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
        Bypass the cache for conditional requests.
        * WebCoreSupport/WebSubresourceLoader.m:
        (+[WebSubresourceLoader startLoadingResource:withRequest:customHeaders:referrer:forDataSource:]): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/xmlhttprequest/cache-override-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/cache-override.html [new file with mode: 0644]
LayoutTests/http/tests/xmlhttprequest/resources/304.pl [new file with mode: 0755]
WebKit/ChangeLog
WebKit/Misc/WebNSURLRequestExtras.h
WebKit/Misc/WebNSURLRequestExtras.m
WebKit/WebCoreSupport/WebFrameBridge.m
WebKit/WebCoreSupport/WebSubresourceLoader.m