diff options
Diffstat (limited to 'cpan/HTTP-Tiny/t/cases/get-02.txt')
-rw-r--r-- | cpan/HTTP-Tiny/t/cases/get-02.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/cpan/HTTP-Tiny/t/cases/get-02.txt b/cpan/HTTP-Tiny/t/cases/get-02.txt new file mode 100644 index 0000000000..4b540f4462 --- /dev/null +++ b/cpan/HTTP-Tiny/t/cases/get-02.txt @@ -0,0 +1,22 @@ +url + http://example.com/index.html +expected + abcdefghijklmnopqrstuvwxyz1234567890abcdef +headers + Accept: */* + X-Custom: This is a custom header +---------- +GET /index.html HTTP/1.1 +Host: example.com +Accept: */* +Connection: close +User-Agent: HTTP-Tiny/VERSION +X-Custom: This is a custom header + +---------- +HTTP/1.1 200 OK +Date: Thu, 03 Feb 1994 00:00:00 GMT +Content-Type: text/plain +Content-Length: 44 + +abcdefghijklmnopqrstuvwxyz1234567890abcdef |