--- /dev/null
+http://%HOSTIP:%HOSTPORT/1
--- /dev/null
+ -u fake:user http://%HOSTIP:%HOSTPORT/2
--- /dev/null
+ -d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3
--- /dev/null
+ -H "extra-header: here" -H "Accept: replaced" http://%HOSTIP:%HOSTPORT/4
--- /dev/null
+GET /1 HTTP/1.0\r
+User-Agent: curl/7.4.2-pre3 (sparc-sun-solaris2.7) libcurl 7.4.2-pre3 (SSL 0.9.6)\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
--- /dev/null
+GET /2 HTTP/1.0\r
+Authorization: Basic ZmFrZTp1c2Vy\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+\r
--- /dev/null
+POST /3 HTTP/1.0\r
+Authorization: Basic ZmFrZTotdXNlcg==\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*\r
+Content-Length: 37\r
+Content-Type: application/x-www-form-urlencoded\r
+\r
+fooo=mooo&pooo=clue&doo=%20%20%20++++\r
--- /dev/null
+GET /4 HTTP/1.0\r
+Host: 127.0.0.1:8999\r
+Pragma: no-cache\r
+extra-header: here\r
+Accept: replaced\r
+\r
--- /dev/null
+simple HTTP GET
--- /dev/null
+HTTP GET with user and password
--- /dev/null
+HTTP POST with user and password
--- /dev/null
+Replaced HTTP headers
--- /dev/null
+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>
--- /dev/null
+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
+
+
--- /dev/null
+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
+
+
--- /dev/null
+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
+
+