summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny/t/cases/get-20.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/HTTP-Tiny/t/cases/get-20.txt')
-rw-r--r--cpan/HTTP-Tiny/t/cases/get-20.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/cpan/HTTP-Tiny/t/cases/get-20.txt b/cpan/HTTP-Tiny/t/cases/get-20.txt
new file mode 100644
index 0000000000..8873793665
--- /dev/null
+++ b/cpan/HTTP-Tiny/t/cases/get-20.txt
@@ -0,0 +1,21 @@
+url
+ http://example.com/index.html
+headers
+ connection: X-Foo
+ X-Foo: bar
+expected
+ abcdefghijklmnopqrstuvwxyz1234567890abcdef
+----------
+GET /index.html HTTP/1.1
+Host: example.com
+Connection: close
+X-Foo: bar
+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: 44
+
+abcdefghijklmnopqrstuvwxyz1234567890abcdef