• mjs@apple.com's avatar
    2009-09-30 Maciej Stachowiak <mjs@apple.com> · 67d34954
    mjs@apple.com authored
            Reviewed by Brady Eidson.
    
            307 redirects should pass along http body and Content-Type header
            https://bugs.webkit.org/show_bug.cgi?id=29943
    
            Follow-up fix for:
            <rdar://problem/3802660> SAP: 307 (Temporary Redirect) responses should use POST, not GET
            
            Test: http/tests/loading/resources/redirect-methods-result.php
    
            * platform/network/cf/ResourceHandleCFNet.cpp:
            (WebCore::willSendRequest): Pass along http body and Content-Type header.
            * platform/network/mac/ResourceHandleMac.mm:
            (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]): ditto
    2009-09-30  Maciej Stachowiak  <mjs@apple.com>
    
            Reviewed by Brady Eidson.
    
            307 redirects should pass along http body and Content-Type header
            https://bugs.webkit.org/show_bug.cgi?id=29943
    
            Follow-up fix for:
            <rdar://problem/3802660> SAP: 307 (Temporary Redirect) responses should use POST, not GET
    
            * http/tests/loading/redirect-methods.html: Updated test to show the http body and content-type header.
            * http/tests/loading/redirect-methods-expected.txt:
            * http/tests/loading/resources/redirect-methods-result.php: 
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    67d34954
ChangeLog 1.83 MB