summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2015-06-05 09:01:28 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2015-06-05 09:01:28 +0100
commit02a58917961c6fb3e888b58b0077d7d4ce942cfb (patch)
tree468b2d89058b197c2ab9f6867cea1fdcecf7b849 /cpan/HTTP-Tiny
parentc8b4aa7865e69f69d82b72bfdb9d751b076a19ba (diff)
downloadperl-02a58917961c6fb3e888b58b0077d7d4ce942cfb.tar.gz
Fix up the HTTP::Tiny upgrade
I mistakenly thought I saw corpus/ being missing from Perl, so IGNORED it in Maintainers.pl, but actually the problem was simply that one file was missing (it's new) -- so add it now.
Diffstat (limited to 'cpan/HTTP-Tiny')
-rw-r--r--cpan/HTTP-Tiny/corpus/redirect-10.txt35
1 files changed, 35 insertions, 0 deletions
diff --git a/cpan/HTTP-Tiny/corpus/redirect-10.txt b/cpan/HTTP-Tiny/corpus/redirect-10.txt
new file mode 100644
index 0000000000..3abe585397
--- /dev/null
+++ b/cpan/HTTP-Tiny/corpus/redirect-10.txt
@@ -0,0 +1,35 @@
+url
+ http://example.com/index.html
+expected
+ abcdefghijklmnopqrstuvwxyz1234567890abcdef
+expected_url
+ http://example.com/index2.html
+----------
+GET /index.html HTTP/1.1
+Host: example.com
+Connection: close
+User-Agent: HTTP-Tiny/VERSION
+
+----------
+HTTP/1.1 308 Permanent Redirect
+Date: Thu, 03 Feb 1994 00:00:00 GMT
+Content-Type: text/html
+Content-Length: 53
+Location: http://example.com/index2.html
+
+<a href="http://example.com/index2.html">redirect</a>
+
+----------
+GET /index2.html HTTP/1.1
+Host: example.com
+Connection: close
+User-Agent: HTTP-Tiny/VERSION
+
+----------
+HTTP/1.1 200 OK
+Date: Thu, 03 Feb 1994 00:00:00 GMT
+Content-Type: text/plain
+Content-Length: 42
+
+abcdefghijklmnopqrstuvwxyz1234567890abcdef
+