From fe64570d5d675fd8d407816685ee95ecc91eae90 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 14 Mar 2001 14:26:16 +0000 Subject: [PATCH] updated to work with the modified http server --- tests/data/prot11.txt | 5 +++++ tests/data/prot18.txt | 13 +++++++++++-- tests/data/prot27.txt | 13 +++++++++++-- tests/data/prot31.txt | 11 +++++++++-- tests/data/prot32.txt | 9 ++++++++- 5 files changed, 44 insertions(+), 7 deletions(-) diff --git a/tests/data/prot11.txt b/tests/data/prot11.txt index fd9efe22f..b40ac5268 100644 --- a/tests/data/prot11.txt +++ b/tests/data/prot11.txt @@ -1,3 +1,8 @@ +GET /want/11 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + GET /want/data/110002.txt?coolsite=yes HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache diff --git a/tests/data/prot18.txt b/tests/data/prot18.txt index 432395480..fd0e3e2fe 100644 --- a/tests/data/prot18.txt +++ b/tests/data/prot18.txt @@ -1,5 +1,14 @@ -GET /11 HTTP/1.1 -User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2 +GET /3 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + +GET /10 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + +GET /11 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* diff --git a/tests/data/prot27.txt b/tests/data/prot27.txt index b72640830..682127e29 100644 --- a/tests/data/prot27.txt +++ b/tests/data/prot27.txt @@ -1,5 +1,14 @@ -GET /want/22 HTTP/1.1 -User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.6-pre1 (SSL 0.9.6) (krb4 enabled) +GET /want/25 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + +GET /want/24 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* + +GET /want/22 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* diff --git a/tests/data/prot31.txt b/tests/data/prot31.txt index 2423910ce..094c9f3f5 100644 --- a/tests/data/prot31.txt +++ b/tests/data/prot31.txt @@ -1,5 +1,12 @@ -POST /moo/moo/moo/310002 HTTP/1.1 -User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled) +POST /31 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* +Content-Length: 9 +Content-Type: application/x-www-form-urlencoded + +mooo=fooo +POST /moo/moo/moo/310002 HTTP/1.1 Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* diff --git a/tests/data/prot32.txt b/tests/data/prot32.txt index d7895ebd6..e8efcce0e 100644 --- a/tests/data/prot32.txt +++ b/tests/data/prot32.txt @@ -1,5 +1,12 @@ +POST /32 HTTP/1.1 +Host: 127.0.0.1:8999 +Pragma: no-cache +Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* +Content-Length: 9 +Content-Type: application/x-www-form-urlencoded + +mooo=fooo GET /moo/moo/moo/320002 HTTP/1.1 -User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled) Host: 127.0.0.1:8999 Pragma: no-cache Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*