This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add HTTP::Tiny as a dual-life core module
[perl5.git] / cpan / HTTP-Tiny / t / cases / get-07.txt
1 new_args
2   proxy: http://proxy.example.com:8080/
3 url
4   http://example.com/index.html
5 expected
6   abcdefghijklmnopqrstuvwxyz1234567890abcdef
7 ----------
8 GET http://example.com/index.html HTTP/1.1
9 Host: example.com
10 Connection: close
11 User-Agent: HTTP-Tiny/VERSION
12
13 ----------
14 HTTP/1.1 200 OK
15 Date: Thu, 03 Feb 1994 00:00:00 GMT
16 Content-Type: text/plain
17 Content-Length: 44
18
19 abcdefghijklmnopqrstuvwxyz1234567890abcdef