summaryrefslogtreecommitdiff
path: root/cpan/HTTP-Tiny/t/cases/put-04.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cpan/HTTP-Tiny/t/cases/put-04.txt')
-rw-r--r--cpan/HTTP-Tiny/t/cases/put-04.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/cpan/HTTP-Tiny/t/cases/put-04.txt b/cpan/HTTP-Tiny/t/cases/put-04.txt
new file mode 100644
index 0000000000..eeec295c80
--- /dev/null
+++ b/cpan/HTTP-Tiny/t/cases/put-04.txt
@@ -0,0 +1,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
+