This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Merge branch 'safer' into blead
[perl5.git] / cpan / HTTP-Tiny / corpus / get-02.txt
1 url
2   http://example.com/index.html
3 expected
4   abcdefghijklmnopqrstuvwxyz1234567890abcdef
5 headers
6   Accept: */*
7   X-Custom: This is a custom header
8   x-lower: This is a lower-case custom header
9   authorization: fake auth data
10 ----------
11 GET /index.html HTTP/1.1
12 Host: example.com
13 Accept: */*
14 Authorization: fake auth data
15 Connection: close
16 User-Agent: HTTP-Tiny/VERSION
17 X-Custom: This is a custom header
18 x-lower: This is a lower-case custom header
19
20 ----------
21 HTTP/1.1 200 OK
22 Date: Thu, 03 Feb 1994 00:00:00 GMT
23 Content-Type: text/plain
24 Content-Length: 44
25
26 abcdefghijklmnopqrstuvwxyz1234567890abcdef