WebCore:
authorbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Jul 2009 18:22:35 +0000 (18:22 +0000)
committerbeidson@apple.com <beidson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Jul 2009 18:22:35 +0000 (18:22 +0000)
commit941ea6cc14810f0ecf615b5cbc2b19b50381634a
treeaf308573263961f0f3899ef08d8e5c6a7fb37d34
parenta35841df5fbd47b04650b3e62983f42514ea0ae7
WebCore:

2009-07-29  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=27791
        307 redirects of POSTs should use POST, not GET

        Test: http/tests/loading/redirect-methods.html

        * platform/network/cf/ResourceHandleCFNet.cpp:
        (WebCore::willSendRequest):

        * platform/network/mac/ResourceHandleMac.mm:
        (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]):

LayoutTests:

2009-07-29  Brady Eidson  <beidson@apple.com>

        Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=27791
        307 redirects of POSTs should use POST, not GET

        * http/tests/loading/redirect-methods-expected.txt: Added.
        * http/tests/loading/redirect-methods.html: Added.
        * http/tests/loading/resources/redirect-methods-form.html: Added.
        * http/tests/loading/resources/redirect-methods-result.php: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/loading/redirect-methods-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/loading/redirect-methods.html [new file with mode: 0644]
LayoutTests/http/tests/loading/resources/redirect-methods-form.html [new file with mode: 0644]
LayoutTests/http/tests/loading/resources/redirect-methods-result.php [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/network/cf/ResourceHandleCFNet.cpp
WebCore/platform/network/mac/ResourceHandleMac.mm