aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/data/command40.txt3
-rw-r--r--tests/data/command41.txt2
-rw-r--r--tests/data/name40.txt1
-rw-r--r--tests/data/name41.txt1
-rw-r--r--tests/data/prot40.txt6
-rw-r--r--tests/data/prot41.txt8
-rw-r--r--tests/data/reply40.txt8
-rw-r--r--tests/data/reply41.txt7
8 files changed, 36 insertions, 0 deletions
diff --git a/tests/data/command40.txt b/tests/data/command40.txt
new file mode 100644
index 000000000..e2b781c97
--- /dev/null
+++ b/tests/data/command40.txt
@@ -0,0 +1,3 @@
+http://%HOSTIP:%HOSTPORT/want/40
+
+
diff --git a/tests/data/command41.txt b/tests/data/command41.txt
new file mode 100644
index 000000000..79136e583
--- /dev/null
+++ b/tests/data/command41.txt
@@ -0,0 +1,2 @@
+ -U proxy:pppp -u site:moooo -x %HOSTIP:%HOSTPORT http://weeird.site.com/YES/boo/2
+
diff --git a/tests/data/name40.txt b/tests/data/name40.txt
new file mode 100644
index 000000000..456ffc92d
--- /dev/null
+++ b/tests/data/name40.txt
@@ -0,0 +1 @@
+HTTP GET returns content-length 0 on persitent connection
diff --git a/tests/data/name41.txt b/tests/data/name41.txt
new file mode 100644
index 000000000..affeb5dc4
--- /dev/null
+++ b/tests/data/name41.txt
@@ -0,0 +1 @@
+HTTP with proxy AND web page athorization
diff --git a/tests/data/prot40.txt b/tests/data/prot40.txt
new file mode 100644
index 000000000..65ef8ee3a
--- /dev/null
+++ b/tests/data/prot40.txt
@@ -0,0 +1,6 @@
+GET /want/40 HTTP/1.1
+User-Agent: curl/7.7.2 (sparc-sun-solaris2.7) libcurl 7.7.2 (OpenSSL 0.9.6a) (krb4 enabled)
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/prot41.txt b/tests/data/prot41.txt
new file mode 100644
index 000000000..2a2e7b444
--- /dev/null
+++ b/tests/data/prot41.txt
@@ -0,0 +1,8 @@
+GET http://weeird.site.com/YES/boo/2 HTTP/1.1
+Proxy-authorization: Basic cHJveHk6cHBwcA==
+Authorization: Basic c2l0ZTptb29vbw==
+User-Agent: curl/7.7.2 (sparc-sun-solaris2.7) libcurl 7.7.2 (OpenSSL 0.9.6a) (krb4 enabled)
+Host: weeird.site.com
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/reply40.txt b/tests/data/reply40.txt
new file mode 100644
index 000000000..8c298ffa8
--- /dev/null
+++ b/tests/data/reply40.txt
@@ -0,0 +1,8 @@
+HTTP/1.1 100 Continue weirdo message
+Server: heeee heeee
+
+HTTP/1.1 200 This is a weirdo text message
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Length: 0
+
+*** This should not be received ***
diff --git a/tests/data/reply41.txt b/tests/data/reply41.txt
new file mode 100644
index 000000000..57d8bf96a
--- /dev/null
+++ b/tests/data/reply41.txt
@@ -0,0 +1,7 @@
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Content-Type: text/html
+Funny-head: yesyes
+
+