aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-13 16:05:39 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-13 16:05:39 +0000
commitaa9a60287d29821ded4a187ab83d6994335953ce (patch)
tree519a32eef65bcc8c16ddbe7fa5981af66cf19005 /tests/data
parent6736c1610c47ee5faad0c34a51a290bc26397d17 (diff)
more test case data
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/command10.txt3
-rw-r--r--tests/data/command11.txt3
-rw-r--r--tests/data/command12.txt3
-rw-r--r--tests/data/command13.txt3
-rw-r--r--tests/data/command14.txt3
-rw-r--r--tests/data/command15.txt4
-rw-r--r--tests/data/http10.txt9
-rw-r--r--tests/data/http11.txt5
-rw-r--r--tests/data/http12.txt6
-rw-r--r--tests/data/http13.txt5
-rw-r--r--tests/data/http14.txt6
-rw-r--r--tests/data/http15.txt5
-rw-r--r--tests/data/name10.txt1
-rw-r--r--tests/data/name11.txt1
-rw-r--r--tests/data/name12.txt1
-rw-r--r--tests/data/name13.txt1
-rw-r--r--tests/data/name14.txt1
-rw-r--r--tests/data/name15.txt1
-rw-r--r--tests/data/reply10.txt5
-rw-r--r--tests/data/reply11.txt6
-rw-r--r--tests/data/reply110001.txt10
-rw-r--r--tests/data/reply110002.txt5
-rw-r--r--tests/data/reply12.txt15
-rw-r--r--tests/data/reply13.txt5
-rw-r--r--tests/data/reply14.txt4
-rw-r--r--tests/data/reply15.txt6
-rw-r--r--tests/data/stdout15.txt1
27 files changed, 118 insertions, 0 deletions
diff --git a/tests/data/command10.txt b/tests/data/command10.txt
new file mode 100644
index 000000000..ed5a31241
--- /dev/null
+++ b/tests/data/command10.txt
@@ -0,0 +1,3 @@
+http://%HOSTIP:%HOSTPORT/we/want/10 -T data/command10.txt
+
+
diff --git a/tests/data/command11.txt b/tests/data/command11.txt
new file mode 100644
index 000000000..69b1a92bd
--- /dev/null
+++ b/tests/data/command11.txt
@@ -0,0 +1,3 @@
+http://%HOSTIP:%HOSTPORT/want/11 -L
+
+
diff --git a/tests/data/command12.txt b/tests/data/command12.txt
new file mode 100644
index 000000000..4f22997e6
--- /dev/null
+++ b/tests/data/command12.txt
@@ -0,0 +1,3 @@
+http://%HOSTIP:%HOSTPORT/want/12 -r 100-200
+
+
diff --git a/tests/data/command13.txt b/tests/data/command13.txt
new file mode 100644
index 000000000..97f66a583
--- /dev/null
+++ b/tests/data/command13.txt
@@ -0,0 +1,3 @@
+http://%HOSTIP:%HOSTPORT/want/13 -X DELETE
+
+
diff --git a/tests/data/command14.txt b/tests/data/command14.txt
new file mode 100644
index 000000000..d383690fe
--- /dev/null
+++ b/tests/data/command14.txt
@@ -0,0 +1,3 @@
+http://%HOSTIP:%HOSTPORT/want/14 -i --head
+
+
diff --git a/tests/data/command15.txt b/tests/data/command15.txt
new file mode 100644
index 000000000..c4a037804
--- /dev/null
+++ b/tests/data/command15.txt
@@ -0,0 +1,4 @@
+http://%HOSTIP:%HOSTPORT/want/15 --write-out '%{url_effective} %{http_code} %{size_download}\n'
+
+
+
diff --git a/tests/data/http10.txt b/tests/data/http10.txt
new file mode 100644
index 000000000..665ce653c
--- /dev/null
+++ b/tests/data/http10.txt
@@ -0,0 +1,9 @@
+PUT /we/want/10 HTTP/1.0
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+Content-Length: 60
+
+http://%HOSTIP:%HOSTPORT/we/want/10 -T data/command10.txt
+
+
diff --git a/tests/data/http11.txt b/tests/data/http11.txt
new file mode 100644
index 000000000..e0030136c
--- /dev/null
+++ b/tests/data/http11.txt
@@ -0,0 +1,5 @@
+GET /want/data/110002.txt?coolsite=yes HTTP/1.0
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/http12.txt b/tests/data/http12.txt
new file mode 100644
index 000000000..448ab963b
--- /dev/null
+++ b/tests/data/http12.txt
@@ -0,0 +1,6 @@
+GET /want/12 HTTP/1.0
+Range: bytes=100-200
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/http13.txt b/tests/data/http13.txt
new file mode 100644
index 000000000..1c8b78941
--- /dev/null
+++ b/tests/data/http13.txt
@@ -0,0 +1,5 @@
+DELETE /want/13 HTTP/1.0
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/http14.txt b/tests/data/http14.txt
new file mode 100644
index 000000000..07c183de1
--- /dev/null
+++ b/tests/data/http14.txt
@@ -0,0 +1,6 @@
+HEAD /want/14 HTTP/1.0
+User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/http15.txt b/tests/data/http15.txt
new file mode 100644
index 000000000..0c4b995b8
--- /dev/null
+++ b/tests/data/http15.txt
@@ -0,0 +1,5 @@
+GET /want/15 HTTP/1.0
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/name10.txt b/tests/data/name10.txt
new file mode 100644
index 000000000..f4ffc31ee
--- /dev/null
+++ b/tests/data/name10.txt
@@ -0,0 +1 @@
+simple HTTP PUT from file
diff --git a/tests/data/name11.txt b/tests/data/name11.txt
new file mode 100644
index 000000000..fa1549058
--- /dev/null
+++ b/tests/data/name11.txt
@@ -0,0 +1 @@
+simple HTTP Location: following
diff --git a/tests/data/name12.txt b/tests/data/name12.txt
new file mode 100644
index 000000000..c4268d306
--- /dev/null
+++ b/tests/data/name12.txt
@@ -0,0 +1 @@
+HTTP range support
diff --git a/tests/data/name13.txt b/tests/data/name13.txt
new file mode 100644
index 000000000..9c36e43b5
--- /dev/null
+++ b/tests/data/name13.txt
@@ -0,0 +1 @@
+HTTP custom request 'DELETE' \ No newline at end of file
diff --git a/tests/data/name14.txt b/tests/data/name14.txt
new file mode 100644
index 000000000..6d7efd553
--- /dev/null
+++ b/tests/data/name14.txt
@@ -0,0 +1 @@
+HTTP HEAD
diff --git a/tests/data/name15.txt b/tests/data/name15.txt
new file mode 100644
index 000000000..a14aa7d31
--- /dev/null
+++ b/tests/data/name15.txt
@@ -0,0 +1 @@
+--write-out test
diff --git a/tests/data/reply10.txt b/tests/data/reply10.txt
new file mode 100644
index 000000000..7cf888e06
--- /dev/null
+++ b/tests/data/reply10.txt
@@ -0,0 +1,5 @@
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+
+blablabla
diff --git a/tests/data/reply11.txt b/tests/data/reply11.txt
new file mode 100644
index 000000000..c7027df03
--- /dev/null
+++ b/tests/data/reply11.txt
@@ -0,0 +1,6 @@
+HTTP/1.1 301 This is a weirdo text message
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Location: data/110002.txt?coolsite=yes
+
+This server reply is for testing a simple Location: following
diff --git a/tests/data/reply110001.txt b/tests/data/reply110001.txt
new file mode 100644
index 000000000..18caf57c4
--- /dev/null
+++ b/tests/data/reply110001.txt
@@ -0,0 +1,10 @@
+HTTP/1.1 301 This is a weirdo text message
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+Location: data/110002.txt?coolsite=yes
+
+HTTP/1.1 200 Followed here fine
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+
+If this is received, the location following worked
diff --git a/tests/data/reply110002.txt b/tests/data/reply110002.txt
new file mode 100644
index 000000000..280a45bfa
--- /dev/null
+++ b/tests/data/reply110002.txt
@@ -0,0 +1,5 @@
+HTTP/1.1 200 Followed here fine
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+
+If this is received, the location following worked
diff --git a/tests/data/reply12.txt b/tests/data/reply12.txt
new file mode 100644
index 000000000..3cc88a191
--- /dev/null
+++ b/tests/data/reply12.txt
@@ -0,0 +1,15 @@
+HTTP/1.1 206 Partial Content
+Date: Mon, 13 Nov 2000 13:41:09 GMT
+Server: Apache/1.3.11 (Unix) PHP/3.0.14
+Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
+ETag: "21025-dc7-39462498"
+Accept-Ranges: bytes
+Content-Length: 101
+Content-Range: bytes 100-200/3527
+Connection: close
+Content-Type: text/html
+
+ink="#ffffff" vlink="#cccccc">
+<table width=100% cellspacing=0 cellpadding=0 border=0>
+ <tr>
+ <td co \ No newline at end of file
diff --git a/tests/data/reply13.txt b/tests/data/reply13.txt
new file mode 100644
index 000000000..5a7e385ab
--- /dev/null
+++ b/tests/data/reply13.txt
@@ -0,0 +1,5 @@
+HTTP/1.1 200 Read you
+Deleted: suppose we got a header like this! ;-)
+
+blabla custom request result
+
diff --git a/tests/data/reply14.txt b/tests/data/reply14.txt
new file mode 100644
index 000000000..a80fc6939
--- /dev/null
+++ b/tests/data/reply14.txt
@@ -0,0 +1,4 @@
+HTTP/1.1 200 OK
+Server: thebest/1.0
+
+no?
diff --git a/tests/data/reply15.txt b/tests/data/reply15.txt
new file mode 100644
index 000000000..334b21446
--- /dev/null
+++ b/tests/data/reply15.txt
@@ -0,0 +1,6 @@
+HTTP/1.4 200 OK
+Fake: yes
+Fake: yes
+Fake: yes
+
+Repeated nonsense-headers
diff --git a/tests/data/stdout15.txt b/tests/data/stdout15.txt
new file mode 100644
index 000000000..301ccf46b
--- /dev/null
+++ b/tests/data/stdout15.txt
@@ -0,0 +1 @@
+http://127.0.0.1:8999/want/15 200 26.000