summaryrefslogtreecommitdiff
path: root/test/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'test/testcases')
-rw-r--r--test/testcases/chunked-empty.response11
-rw-r--r--test/testcases/chunked-trailers.response14
-rw-r--r--test/testcases/chunked.response13
-rw-r--r--test/testcases/deflate.responsebin0 -> 639 bytes
-rw-r--r--test/testcases/simple.request1
-rw-r--r--test/testcases/simple.response32
6 files changed, 71 insertions, 0 deletions
diff --git a/test/testcases/chunked-empty.response b/test/testcases/chunked-empty.response
new file mode 100644
index 0000000..8794459
--- /dev/null
+++ b/test/testcases/chunked-empty.response
@@ -0,0 +1,11 @@
+HTTP/1.1 200 OK
+Date: Sat, 04 Sep 2004 07:57:30 GMT
+Server: Apache/2.0.49-dev
+Last-Modified: Fri, 20 Sep 2002 01:33:12 GMT
+ETag: "19f5cb-240-48f26600"
+Accept-Ranges: bytes
+Transfer-Encoding: chunked
+Content-Type: text/html; charset=ISO-8859-1
+
+0
+
diff --git a/test/testcases/chunked-trailers.response b/test/testcases/chunked-trailers.response
new file mode 100644
index 0000000..8d66687
--- /dev/null
+++ b/test/testcases/chunked-trailers.response
@@ -0,0 +1,14 @@
+HTTP/1.1 200 OK
+Transfer-Encoding: chunked
+
+1d
+this is 1 test.
+i am a test.
+f
+this is a test.
+2
+
+
+0
+Trailer-Test: f
+
diff --git a/test/testcases/chunked.response b/test/testcases/chunked.response
new file mode 100644
index 0000000..16c9d33
--- /dev/null
+++ b/test/testcases/chunked.response
@@ -0,0 +1,13 @@
+HTTP/1.1 200 OK
+Transfer-Encoding: chunked
+
+1d
+this is 1 test.
+i am a test.
+f
+this is a test.
+2
+
+
+0
+
diff --git a/test/testcases/deflate.response b/test/testcases/deflate.response
new file mode 100644
index 0000000..0c277bf
--- /dev/null
+++ b/test/testcases/deflate.response
Binary files differ
diff --git a/test/testcases/simple.request b/test/testcases/simple.request
new file mode 100644
index 0000000..faab00e
--- /dev/null
+++ b/test/testcases/simple.request
@@ -0,0 +1 @@
+this is a test.
diff --git a/test/testcases/simple.response b/test/testcases/simple.response
new file mode 100644
index 0000000..aa66cc3
--- /dev/null
+++ b/test/testcases/simple.response
@@ -0,0 +1,32 @@
+HTTP/1.1 200 OK
+Date: Sat, 04 Sep 2004 07:57:30 GMT
+Server: Apache/2.0.49-dev
+Last-Modified: Fri, 20 Sep 2002 01:33:12 GMT
+ETag: "19f5cb-240-48f26600"
+Accept-Ranges: bytes
+Content-Length: 599
+Content-Type: text/html; charset=ISO-8859-1
+
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<head>
+<title>scotch.ics.uci.edu</title>
+<!--base href="http://scotch.ics.uci.edu/" /-->
+<link href="default.css" rel="stylesheet" type="text/css" />
+</head>
+
+<body>
+
+<p>More to come!</p>
+
+<p><a href="manual/">Apache httpd 2.0 manual</a></p>
+
+<p><a href="CA.cert.pem">Trust our CA!</a></p>
+
+<p><img src="apache_pb.gif" alt="Powered by Apache!" /></p>
+
+</body>
+
+</html>