multiple URL test
authorDaniel Stenberg <daniel@haxx.se>
Fri, 17 Nov 2000 15:07:03 +0000 (15:07 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 17 Nov 2000 15:07:03 +0000 (15:07 +0000)
tests/data/command18.txt [new file with mode: 0644]
tests/data/http18.txt [new file with mode: 0644]
tests/data/name18.txt [new file with mode: 0644]
tests/data/stdout18.txt [new file with mode: 0644]

diff --git a/tests/data/command18.txt b/tests/data/command18.txt
new file mode 100644 (file)
index 0000000..1cbb3d3
--- /dev/null
@@ -0,0 +1 @@
+'%HOSTIP:%HOSTPORT/{3,10,11}'
diff --git a/tests/data/http18.txt b/tests/data/http18.txt
new file mode 100644 (file)
index 0000000..89ef22a
--- /dev/null
@@ -0,0 +1,6 @@
+GET /11 HTTP/1.0\r
+User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
diff --git a/tests/data/name18.txt b/tests/data/name18.txt
new file mode 100644 (file)
index 0000000..ef15d08
--- /dev/null
@@ -0,0 +1 @@
+multiple requests using {} in URL
diff --git a/tests/data/stdout18.txt b/tests/data/stdout18.txt
new file mode 100644 (file)
index 0000000..98a92af
--- /dev/null
@@ -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