summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny/corpus/form-03.txt
blob: 101224df12c4af48fcf88c4247405ae2bdf4c75a (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/new
content
  bar|baz|ack|foo
datatype
  HASH
----------
POST /new HTTP/1.1
Host: example.com
Connection: close
User-Agent: HTTP-Tiny/VERSION
Content-Type: application/x-www-form-urlencoded
Content-Length: 15

ack=foo&bar=baz
----------
HTTP/1.1 201 Created
Date: Thu, 03 Feb 1994 00:00:00 GMT
Location: http://example.com/new/01.txt
Content-Length: 0