summaryrefslogtreecommitdiffstats
path: root/test/files/62-post-no-body.t
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/files/62-post-no-body.t34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/files/62-post-no-body.t b/test/files/62-post-no-body.t
new file mode 100644
index 0000000..10a8d4b
--- /dev/null
+++ b/test/files/62-post-no-body.t
@@ -0,0 +1,34 @@
+>>>
+POST / HTTP/1.0
+Content-Length: 0
+Content-Type: application/x-www-form-urlencoded
+User-Agent: Mozilla
+
+
+<<<
+HTTP/1.0 200 OK
+Date: Mon, 31 Aug 2009 20:25:50 GMT
+Server: Apache
+Connection: close
+Content-Type: text/html
+Content-Length: 12
+
+Hello World!
+>>>
+GET / HTTP/1.0
+
+
+<<<
+HTTP/1.0 200 OK
+Date: Mon, 31 Aug 2009 20:25:50 GMT
+Server: Apache
+Connection: close
+Content-Type: text/html
+Transfer-Encoding: chunked
+
+9
+012345678
+1
+9
+0
+