diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 21:16:17 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-30 21:16:17 +0000 |
commit | 5dc791943076869a388544d8d32eabe3df62c53c (patch) | |
tree | 82453804646baa515784b28d1e81f7f13a040352 /net/data | |
parent | 1f5d0920228df6addb772ac2ad6a665be4ebd3fe (diff) | |
download | chromium_src-5dc791943076869a388544d8d32eabe3df62c53c.zip chromium_src-5dc791943076869a388544d8d32eabe3df62c53c.tar.gz chromium_src-5dc791943076869a388544d8d32eabe3df62c53c.tar.bz2 |
Fix 307 redirects of a POST request to actually send the body again, and add a
test.
Note: the fix is trivial, but adding support for a test required teaching the
FileHandler of testserver to consume a post body.
BUG=16832
TEST=covered by unit test
R=abarth
Review URL: http://codereview.chromium.org/149710
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data')
-rw-r--r-- | net/data/url_request_unittest/redirect307-to-echo (renamed from net/data/url_request_unittest/redirect307-to-echoall) | 0 | ||||
-rw-r--r-- | net/data/url_request_unittest/redirect307-to-echo.mock-http-headers | 2 | ||||
-rw-r--r-- | net/data/url_request_unittest/redirect307-to-echoall.mock-http-headers | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/net/data/url_request_unittest/redirect307-to-echoall b/net/data/url_request_unittest/redirect307-to-echo index 7898192..7898192 100644 --- a/net/data/url_request_unittest/redirect307-to-echoall +++ b/net/data/url_request_unittest/redirect307-to-echo diff --git a/net/data/url_request_unittest/redirect307-to-echo.mock-http-headers b/net/data/url_request_unittest/redirect307-to-echo.mock-http-headers new file mode 100644 index 0000000..3d9f6a9 --- /dev/null +++ b/net/data/url_request_unittest/redirect307-to-echo.mock-http-headers @@ -0,0 +1,2 @@ +HTTP/1.1 307 Yo +Location: /echo diff --git a/net/data/url_request_unittest/redirect307-to-echoall.mock-http-headers b/net/data/url_request_unittest/redirect307-to-echoall.mock-http-headers deleted file mode 100644 index 33393cc..0000000 --- a/net/data/url_request_unittest/redirect307-to-echoall.mock-http-headers +++ /dev/null @@ -1,2 +0,0 @@ -HTTP/1.1 307 Yo -Location: /echoall/ |