summaryrefslogtreecommitdiffstats
path: root/net/data
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 03:58:06 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-12 03:58:06 +0000
commit140932f7da2921aeecc32015d05168c3c514eef8 (patch)
treece71248f96bd28219f04e0c81d5e7684aea11ff5 /net/data
parent7d3851d8c1b1b1a7158138ec730976c77b93fb15 (diff)
downloadchromium_src-140932f7da2921aeecc32015d05168c3c514eef8.zip
chromium_src-140932f7da2921aeecc32015d05168c3c514eef8.tar.gz
chromium_src-140932f7da2921aeecc32015d05168c3c514eef8.tar.bz2
307 redirects of POST should generate POSTs instead of GETs.
BUG=4875 R=darin Review URL: http://codereview.chromium.org/13334 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6879 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data')
-rwxr-xr-xnet/data/url_request_unittest/redirect307-to-echoall1
-rwxr-xr-xnet/data/url_request_unittest/redirect307-to-echoall.mock-http-headers2
2 files changed, 3 insertions, 0 deletions
diff --git a/net/data/url_request_unittest/redirect307-to-echoall b/net/data/url_request_unittest/redirect307-to-echoall
new file mode 100755
index 0000000..7898192
--- /dev/null
+++ b/net/data/url_request_unittest/redirect307-to-echoall
@@ -0,0 +1 @@
+a
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
new file mode 100755
index 0000000..33393cc
--- /dev/null
+++ b/net/data/url_request_unittest/redirect307-to-echoall.mock-http-headers
@@ -0,0 +1,2 @@
+HTTP/1.1 307 Yo
+Location: /echoall/