From 874f6024e6b428782e9f2ca39c82f2cec6e692c0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 17 Nov 2000 15:07:03 +0000 Subject: [PATCH] multiple URL test --- tests/data/command18.txt | 1 + tests/data/http18.txt | 6 ++++++ tests/data/name18.txt | 1 + tests/data/stdout18.txt | 22 ++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 tests/data/command18.txt create mode 100644 tests/data/http18.txt create mode 100644 tests/data/name18.txt create mode 100644 tests/data/stdout18.txt 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