summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny/t/cases/get-20.txt
blob: 8873793665d26e26d3494bcfbabb65ac4a8f3b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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