summaryrefslogtreecommitdiffstats
path: root/test/files/10-host-in-headers.t
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/10-host-in-headers.t')
-rw-r--r--test/files/10-host-in-headers.t34
1 files changed, 34 insertions, 0 deletions
diff --git a/test/files/10-host-in-headers.t b/test/files/10-host-in-headers.t
new file mode 100644
index 0000000..b892b0a
--- /dev/null
+++ b/test/files/10-host-in-headers.t
@@ -0,0 +1,34 @@
+>>>
+GET / HTTP/1.1
+Host: www.example.com
+
+
+<<<
+HTTP/1.0 200 OK
+Content-Length: 12
+
+Hello World!
+>>>
+GET / HTTP/1.1
+Host: www.example.com.
+
+
+<<<
+HTTP/1.0 200 OK
+Content-Length: 12
+>>>
+GET / HTTP/1.1
+Host: WwW.ExamPle.cOm
+
+
+<<<
+HTTP/1.0 200 OK
+Content-Length: 12
+>>>
+GET / HTTP/1.1
+Host: www.example.com:80
+
+
+<<<
+HTTP/1.0 200 OK
+Content-Length: 12 \ No newline at end of file