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

test files

parent 3c0194bb
No related branches found
No related tags found
No related merge requests found
http://%HOSTIP:%HOSTPORT/1
-u fake:user http://%HOSTIP:%HOSTPORT/2
-d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3
-H "extra-header: here" -H "Accept: replaced" http://%HOSTIP:%HOSTPORT/4
GET /1 HTTP/1.0
User-Agent: curl/7.4.2-pre3 (sparc-sun-solaris2.7) libcurl 7.4.2-pre3 (SSL 0.9.6)
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
GET /2 HTTP/1.0
Authorization: Basic ZmFrZTp1c2Vy
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
POST /3 HTTP/1.0
Authorization: Basic ZmFrZTotdXNlcg==
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 37
Content-Type: application/x-www-form-urlencoded
fooo=mooo&pooo=clue&doo=%20%20%20++++
GET /4 HTTP/1.0
Host: 127.0.0.1:8999
Pragma: no-cache
extra-header: here
Accept: replaced
simple HTTP GET
HTTP GET with user and password
HTTP POST with user and password
Replaced HTTP headers
HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
ETag: "21025-dc7-39462498"
Accept-Ranges: bytes
Content-Length: 6
Connection: close
Content-Type: text/html
Funny-head: yesyes
<foo>
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
Server: test-server/fake
Content-Type: text/html
Content-Length: 0
this is data even though Content-Length is set to zero
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
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