Skip to content
Snippets Groups Projects
Commit a58e336d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

updated test cases

parent 27435f06
No related branches found
No related tags found
No related merge requests found
Showing
with 87 additions and 1 deletion
http://%HOSTIP:%HOSTPORT/we/want/that/page/5 -x %HOSTIP:%HOSTPORT
http://%HOSTIP:%HOSTPORT/we/want/that/page/6 -b "name=contents;name2=content2"
http://%HOSTIP:%HOSTPORT/we/want/7 -b none -D log/heads7.txt
http://%HOSTIP:%HOSTPORT/we/want/8 -b log/heads7.txt
http://%HOSTIP:%HOSTPORT/we/want/9 -F name=daniel -F tool=curl -F file=@data/command9.txt
GET http://127.0.0.1:8999/we/want/that/page/5 HTTP/1.0
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
GET /we/want/that/page/6 HTTP/1.0
Cookie: name=contents;name2=content2
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
GET /we/want/7 HTTP/1.0
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
GET /we/want/8 HTTP/1.0
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Cookie: foobar=name; partmatch=present
POST /we/want/9 HTTP/1.0
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 446
Content-Type: multipart/form-data; boundary=curluczemxkcWWsxptLlAImrFQHwQ3W
--curluczemxkcWWsxptLlAImrFQHwQ3W
Content-Disposition: form-data; name="name"
daniel
--curluczemxkcWWsxptLlAImrFQHwQ3W
Content-Disposition: form-data; name="tool"
curl
--curluczemxkcWWsxptLlAImrFQHwQ3W
Content-Disposition: form-data; name="file"; filename="data/command9.txt"
Content-Type: text/plain
http://%HOSTIP:%HOSTPORT/we/want/9 -F name=daniel -F tool=curl -F file=@data/command9.txt
--curluczemxkcWWsxptLlAImrFQHwQ3W--
Replaced HTTP headers
Replaced internal and added custom HTTP headers
HTTP over proxy
HTTP with simple cookie send
HTTP with cookie parser and header recording
HTTP with cookie parsing from header file, must follow test 7
HTTP RFC1867-type formposting
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Content-Type: text/html
Funny-head: yesyes
Set-Cookie: foobar=name; domain=127.0.0.1; path=/;
Set-Cookie: mismatch=this; domain=127.0.0.1; path="/silly/";
Set-Cookie: partmatch=present; domain=.0.0.1; path=/;
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment