1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

persistant support protocol updates

This commit is contained in:
Daniel Stenberg 2001-03-04 18:07:13 +00:00
parent cf8704ccdf
commit 5ab8a9d32f
42 changed files with 42 additions and 27 deletions

View File

@ -1,4 +1,4 @@
GET /1 HTTP/1.0 GET /1 HTTP/1.1
User-Agent: curl/7.4.2-pre3 (sparc-sun-solaris2.7) libcurl 7.4.2-pre3 (SSL 0.9.6) 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 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
PUT /we/want/10 HTTP/1.0 PUT /we/want/10 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PASV PASV
TYPE A TYPE A
LIST LIST

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PORT 127,0,0,1,243,212 PORT 127,0,0,1,243,212
TYPE A TYPE A
LIST LIST

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PASV PASV
TYPE I TYPE I
RETR 102 RETR 102

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
CWD a/path CWD a/path
PORT 127,0,0,1,246,33 PORT 127,0,0,1,246,33
TYPE I TYPE I

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
CWD a/path CWD a/path
MDTM 103 MDTM 103
TYPE I TYPE I

View File

@ -1,5 +1,6 @@
USER userdude USER userdude
PASS passfellow PASS passfellow
PWD
PASV PASV
TYPE A TYPE A
RETR 103 RETR 103

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
CWD /path with spaces/and things2 CWD /path with spaces/and things2
PASV PASV
TYPE A TYPE A

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PASV PASV
TYPE I TYPE I
STOR 107 STOR 107

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
CWD CWD/STOR/RETR CWD CWD/STOR/RETR
PORT 127,0,0,1,5,109 PORT 127,0,0,1,5,109
TYPE I TYPE I

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PASV PASV
TYPE I TYPE I
APPE 109 APPE 109

View File

@ -1,4 +1,4 @@
GET /want/data/110002.txt?coolsite=yes HTTP/1.0 GET /want/data/110002.txt?coolsite=yes HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PASV PASV
TYPE I TYPE I
SIZE 110 SIZE 110

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PASV PASV
TYPE I TYPE I
APPE 112 APPE 112

View File

@ -1,4 +1,4 @@
GET /want/12 HTTP/1.0 GET /want/12 HTTP/1.1
Range: bytes=100-200 Range: bytes=100-200
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
PASV PASV
TYPE I TYPE I
RETR 106 RETR 106

View File

@ -1,5 +1,6 @@
USER anonymous USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD
DELE before_transfer DELE before_transfer
PASV PASV
TYPE I TYPE I

View File

@ -1,4 +1,4 @@
DELETE /want/13 HTTP/1.0 DELETE /want/13 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,4 +1,4 @@
HEAD /want/14 HTTP/1.0 HEAD /want/14 HTTP/1.1
User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4 User-Agent: curl/7.4.2-pre4 (sparc-sun-solaris2.7) libcurl 7.4.2-pre4
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /want/15 HTTP/1.0 GET /want/15 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,4 +1,4 @@
GET http://we.want.that.site.com/2 HTTP/1.0 GET http://we.want.that.site.com/2 HTTP/1.1
Proxy-authorization: Basic ZmFrZUB1c2VyOqenp2xvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb28= Proxy-authorization: Basic ZmFrZUB1c2VyOqenp2xvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb28=
Host: we.want.that.site.com Host: we.want.that.site.com
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
MOOO /that.site.com/17 HTTP/1.0 MOOO /that.site.com/17 HTTP/1.1
User-Agent: agent007 license to drill User-Agent: agent007 license to drill
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /11 HTTP/1.0 GET /11 HTTP/1.1
User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2 User-Agent: curl/7.4.2 (sparc-sun-solaris2.7) libcurl 7.4.2
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /2 HTTP/1.0 GET /2 HTTP/1.1
Authorization: Basic ZmFrZTp1c2Vy Authorization: Basic ZmFrZTp1c2Vy
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
GET /want/25 HTTP/1.0 GET /want/25 HTTP/1.1
User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.5.2 (SSL 0.9.6) (krb4 enabled) User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.5.2 (SSL 0.9.6) (krb4 enabled)
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /want/22 HTTP/1.0 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) User-Agent: curl/7.6-pre1 (sparc-sun-solaris2.7) libcurl 7.6-pre1 (SSL 0.9.6) (krb4 enabled)
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /wantit/{}[]/28 HTTP/1.0 GET /wantit/{}[]/28 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,4 +1,4 @@
GET /29 HTTP/1.0 GET /29 HTTP/1.1
Range: bytes=200- Range: bytes=200-
User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled) User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled)
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999

View File

@ -1,4 +1,4 @@
POST /3 HTTP/1.0 POST /3 HTTP/1.1
Authorization: Basic ZmFrZTotdXNlcg== Authorization: Basic ZmFrZTotdXNlcg==
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /30 HTTP/1.0 GET /30 HTTP/1.1
User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled) User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled)
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
POST /moo/moo/moo/310002 HTTP/1.0 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) User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled)
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /moo/moo/moo/320002 HTTP/1.0 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) User-Agent: curl/7.6 (i686-pc-linux-gnu) libcurl 7.6 (SSL 0.9.5) (ipv6 enabled)
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
PUT /33 HTTP/1.0 PUT /33 HTTP/1.1
Content-Range: bytes 50-149/150 Content-Range: bytes 50-149/150
User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled) User-Agent: curl/7.6 (sparc-sun-solaris2.7) libcurl 7.6-pre4 (SSL 0.9.6) (krb4 enabled)
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999

View File

@ -1,4 +1,4 @@
GET /4 HTTP/1.0 GET /4 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
extra-header: here extra-header: here

View File

@ -1,4 +1,4 @@
GET http://127.0.0.1:8999/we/want/that/page/5 HTTP/1.0 GET http://127.0.0.1:8999/we/want/that/page/5 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,4 +1,4 @@
GET /we/want/that/page/6 HTTP/1.0 GET /we/want/that/page/6 HTTP/1.1
Cookie: name=contents;name2=content2 Cookie: name=contents;name2=content2
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache

View File

@ -1,4 +1,4 @@
GET /we/want/7 HTTP/1.0 GET /we/want/7 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,4 +1,4 @@
GET /we/want/8 HTTP/1.0 GET /we/want/8 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -1,4 +1,4 @@
POST /we/want/9 HTTP/1.0 POST /we/want/9 HTTP/1.1
Host: 127.0.0.1:8999 Host: 127.0.0.1:8999
Pragma: no-cache Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*

View File

@ -18,5 +18,6 @@ HTTP/1.1 301 This is a weirdo text message
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake Server: test-server/fake
Location: data/110002.txt?coolsite=yes Location: data/110002.txt?coolsite=yes
Connection: close
This server reply is for testing a simple Location: following This server reply is for testing a simple Location: following