test files
This commit is contained in:
Родитель
3c0194bb72
Коммит
14bcdcfcdd
|
@ -0,0 +1 @@
|
|||
http://%HOSTIP:%HOSTPORT/1
|
|
@ -0,0 +1 @@
|
|||
-u fake:user http://%HOSTIP:%HOSTPORT/2
|
|
@ -0,0 +1 @@
|
|||
-d "fooo=mooo&pooo=clue&doo=%20%20%20++++" -u "fake:-user" http://%HOSTIP:%HOSTPORT/3
|
|
@ -0,0 +1 @@
|
|||
-H "extra-header: here" -H "Accept: replaced" http://%HOSTIP:%HOSTPORT/4
|
|
@ -0,0 +1,6 @@
|
|||
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, */*
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
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, */*
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
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++++
|
|
@ -0,0 +1,6 @@
|
|||
GET /4 HTTP/1.0
|
||||
Host: 127.0.0.1:8999
|
||||
Pragma: no-cache
|
||||
extra-header: here
|
||||
Accept: replaced
|
||||
|
|
@ -0,0 +1 @@
|
|||
simple HTTP GET
|
|
@ -0,0 +1 @@
|
|||
HTTP GET with user and password
|
|
@ -0,0 +1 @@
|
|||
HTTP POST with user and password
|
|
@ -0,0 +1 @@
|
|||
Replaced HTTP headers
|
|
@ -0,0 +1,12 @@
|
|||
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>
|
|
@ -0,0 +1,7 @@
|
|||
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,0 +1,8 @@
|
|||
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
|
||||
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
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
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче