aboutsummaryrefslogtreecommitdiff
path: root/tests/data
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-17 15:07:03 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-17 15:07:03 +0000
commit874f6024e6b428782e9f2ca39c82f2cec6e692c0 (patch)
treeb25c943fb916a3aadc42e460c5ecf8a8668c00fa /tests/data
parenta03cdd7e83fb4b698e2450e9e9db7e433dabe184 (diff)
multiple URL test
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/command18.txt1
-rw-r--r--tests/data/http18.txt6
-rw-r--r--tests/data/name18.txt1
-rw-r--r--tests/data/stdout18.txt22
4 files changed, 30 insertions, 0 deletions
diff --git a/tests/data/command18.txt b/tests/data/command18.txt
new file mode 100644
index 000000000..1cbb3d3a4
--- /dev/null
+++ b/tests/data/command18.txt
@@ -0,0 +1 @@
+'%HOSTIP:%HOSTPORT/{3,10,11}'
diff --git a/tests/data/http18.txt b/tests/data/http18.txt
new file mode 100644
index 000000000..89ef22af7
--- /dev/null
+++ b/tests/data/http18.txt
@@ -0,0 +1,6 @@
+GET /11 HTTP/1.0
+User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2
+Host: 127.0.0.1:8999
+Pragma: no-cache
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
+
diff --git a/tests/data/name18.txt b/tests/data/name18.txt
new file mode 100644
index 000000000..ef15d086b
--- /dev/null
+++ b/tests/data/name18.txt
@@ -0,0 +1 @@
+multiple requests using {} in URL
diff --git a/tests/data/stdout18.txt b/tests/data/stdout18.txt
new file mode 100644
index 000000000..98a92afa6
--- /dev/null
+++ b/tests/data/stdout18.txt
@@ -0,0 +1,22 @@
+--_curl_--127.0.0.1:8999/3
+HTTP/1.1 200 OK
+Server: test-server/fake
+Content-Type: text/html
+Content-Length: 0
+
+this is data even though Content-Length is set to zero
+
+
+--_curl_--127.0.0.1:8999/10
+HTTP/1.1 200 OK
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Server: test-server/fake
+
+blablabla
+--_curl_--127.0.0.1:8999/11
+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