summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny/corpus/put-04.txt
blob: eeec295c8020ead6f1df7b4ba3c7760b4a80f70c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
url
  http://example.com/new.txt
content
  abcdefghijklmnopqrstuvwxyz1234567890abcdef
----------
PUT /new.txt HTTP/1.1
Host: example.com
Connection: close
User-Agent: HTTP-Tiny/VERSION
Content-Type: application/octet-stream
Content-Length: 42

abcdefghijklmnopqrstuvwxyz1234567890abcdef
----------
HTTP/1.1 201 Created
Date: Thu, 03 Feb 1994 00:00:00 GMT
Location: http://example.com/new.txt
Content-Length: 0