summaryrefslogtreecommitdiffstats
path: root/test/files/91-request-unexpected-body.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/91-request-unexpected-body.t')
-rw-r--r--test/files/91-request-unexpected-body.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/files/91-request-unexpected-body.t b/test/files/91-request-unexpected-body.t
new file mode 100644
index 0000000..358da12
--- /dev/null
+++ b/test/files/91-request-unexpected-body.t
@@ -0,0 +1,16 @@
+>>>
+POST / HTTP/1.1
+Host: localhost
+Content-Type: application/x-www-form-urlencoded
+
+login=foo&password=bar
+
+<<<
+HTTP/1.1 200 OK
+Content-Length: 0
+
+
+>>>
+GET / HTTP/1.1
+Host: localhost
+