diff options
Diffstat (limited to 'cpan/HTTP-Tiny/t/cases/get-06.txt')
-rw-r--r-- | cpan/HTTP-Tiny/t/cases/get-06.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/cpan/HTTP-Tiny/t/cases/get-06.txt b/cpan/HTTP-Tiny/t/cases/get-06.txt new file mode 100644 index 0000000000..131bb58e3b --- /dev/null +++ b/cpan/HTTP-Tiny/t/cases/get-06.txt @@ -0,0 +1,19 @@ +url + http://example.com/cb.html +expected + abcdefghijklmnopqrstuvwxyz1234567890abcdef +data_cb + sub { $main::data .= $_[0] } +---------- +GET /cb.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: 44 + +abcdefghijklmnopqrstuvwxyz1234567890abcdef |