1
0
mirror of https://github.com/moparisthebest/curl synced 2025-03-11 07:39:50 -04:00

stricter newline policy

This commit is contained in:
Daniel Stenberg 2004-11-29 12:01:07 +00:00
parent 4c8fbe9abf
commit 81a3246a56
25 changed files with 108 additions and 108 deletions

View File

@ -2,17 +2,17 @@
# Server-side # Server-side
<reply name="1"> <reply name="1">
<data> <data>
total 20 total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README -r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data> </data>
</reply> </reply>

View File

@ -2,17 +2,17 @@
# Server-side # Server-side
<reply name="1"> <reply name="1">
<data> <data>
total 20 total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README -r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data> </data>
</reply> </reply>

View File

@ -2,17 +2,17 @@
# Server-side # Server-side
<reply name="1"> <reply name="1">
<data> <data>
total 20 total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README -r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data> </data>
</reply> </reply>

View File

@ -2,17 +2,17 @@
# Server-side # Server-side
<reply name="1"> <reply name="1">
<data> <data>
total 20 total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README -r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data> </data>
</reply> </reply>

View File

@ -2,17 +2,17 @@
# Server-side # Server-side
<reply name="1"> <reply name="1">
<data> <data>
total 20 total 20
drwxr-xr-x 8 98 98 512 Oct 22 13:06 . drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
drwxr-xr-x 8 98 98 512 Oct 22 13:06 .. drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT drwxr-xr-x 2 98 98 512 May 2 1996 .NeXT
-r--r--r-- 1 0 1 35 Jul 16 1996 README -r--r--r-- 1 0 1 35 Jul 16 1996 README
lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin lrwxrwxrwx 1 0 1 7 Dec 9 1999 bin -> usr/bin
dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
drwxrwxrwx 2 98 98 512 May 29 16:04 download.html drwxrwxrwx 2 98 98 512 May 29 16:04 download.html
dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr
</data> </data>
</reply> </reply>

View File

@ -28,7 +28,7 @@ USER anonymous
PASS curl_by_daniel@haxx.se PASS curl_by_daniel@haxx.se
PWD PWD
CWD blalbla CWD blalbla
MDTM 139 MDTM 139
EPSV EPSV
TYPE I TYPE I
SIZE 139 SIZE 139

View File

@ -34,6 +34,6 @@ REST 0
QUIT QUIT
</protocol> </protocol>
<stdout> <stdout>
Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT Last-Modified: Wed, 09 Apr 2003 10:26:59 GMT
</stdout> </stdout>
</verify> </verify>

View File

@ -55,8 +55,8 @@ WWW-Authenticate: NTLM TlRMTVNTUAACAAAAAgACADAAAAAGgoEAc51AYVDgyNcAAAAAAAAAAG4Ab
HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose HTTP/1.1 200 Type-3 Recevied and all Things are fine swsclose
Server: Microsoft-IIS/5.0 Server: Microsoft-IIS/5.0
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Finally, this is the real page! Finally, this is the real page!
</datacheck> </datacheck>
</reply> </reply>

View File

@ -32,7 +32,7 @@ HTTP with proxy athorization
</strip> </strip>
<protocol> <protocol>
GET http://we.want.that.site.com/16 HTTP/1.1 GET http://we.want.that.site.com/16 HTTP/1.1
Proxy-Authorization: Basic ZmFrZUB1c2VyOqenp2xvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw== Proxy-Authorization: Basic ZmFrZUB1c2VyOqenp2xvb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29vb29uZw==
Host: we.want.that.site.com Host: we.want.that.site.com
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*

View File

@ -36,7 +36,7 @@ http://%HOSTIP:%HTTPPORT/162 --proxy http://%HOSTIP:%HTTPPORT --proxy-user foo:b
</strip> </strip>
<protocol> <protocol>
GET http://127.0.0.1:%HTTPPORT/162 HTTP/1.1 GET http://127.0.0.1:%HTTPPORT/162 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled) User-Agent: curl/7.8.1-pre3 (sparc-sun-solaris2.7) libcurl 7.8.1-pre3 (OpenSSL 0.9.6a) (krb4 enabled)
Host: 127.0.0.1:%HTTPPORT Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache Pragma: no-cache

View File

@ -82,26 +82,26 @@ http://data.from.server.requiring.digest.hohoho.com/169 --proxy http://%HOSTIP:%
^User-Agent: curl/.* ^User-Agent: curl/.*
</strip> </strip>
<protocol> <protocol>
GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA= Proxy-Authorization: NTLM TlRMTVNTUAABAAAAAgIAAAAAAAAgAAAAAAAAACAAAAA=
User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3
Host: data.from.server.requiring.digest.hohoho.com Host: data.from.server.requiring.digest.hohoho.com
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*
GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1
Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEMAAAAYABgAWwAAAAAAAABAAAAAAwADAEAAAAAAAAAAQwAAAAAAAABzAAAAAYIAAGZvb4P6B+XVQ6vQsx3DfDXUVhd9436GAxPu0IYcl2Z7LxHmNeOAWQ+vxUmhuCFJBUgXCQ== Proxy-Authorization: NTLM TlRMTVNTUAADAAAAGAAYAEMAAAAYABgAWwAAAAAAAABAAAAAAwADAEAAAAAAAAAAQwAAAAAAAABzAAAAAYIAAGZvb4P6B+XVQ6vQsx3DfDXUVhd9436GAxPu0IYcl2Z7LxHmNeOAWQ+vxUmhuCFJBUgXCQ==
User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3
Host: data.from.server.requiring.digest.hohoho.com Host: data.from.server.requiring.digest.hohoho.com
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*
GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1 GET http://data.from.server.requiring.digest.hohoho.com/169 HTTP/1.1
Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/169", response="95d48591985a03c4b49cb962aa7bd3e6" Authorization: Digest username="digest", realm="r e a l m", nonce="abcdef", uri="/169", response="95d48591985a03c4b49cb962aa7bd3e6"
User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3 User-Agent: curl/7.12.0-CVS (i686-pc-linux-gnu) libcurl/7.12.0-CVS OpenSSL/0.9.6b ipv6 zlib/1.1.4 GSS libidn/0.4.3
Host: data.from.server.requiring.digest.hohoho.com Host: data.from.server.requiring.digest.hohoho.com
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*
</protocol> </protocol>
</verify> </verify>

View File

@ -48,7 +48,7 @@ PORT stripped
TYPE I TYPE I
SIZE 212 SIZE 212
RETR 212 RETR 212
PORT stripped PORT stripped
TYPE I TYPE I
SIZE 212 SIZE 212
RETR 212 RETR 212

View File

@ -38,11 +38,11 @@ HTTP with -d and -G
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET /32?foo=moo&moo=poo HTTP/1.1 GET /32?foo=moo&moo=poo HTTP/1.1
User-Agent: curl/7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5-cvs (OpenSSL 0.9.5) (ipv6 enabled) User-Agent: curl/7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5-cvs (OpenSSL 0.9.5) (ipv6 enabled)
Host: 127.0.0.1:%HTTPPORT Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*
</protocol> </protocol>
</verify> </verify>

View File

@ -30,10 +30,10 @@ HTTP with -d and -G and -I
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
HEAD /48?foo=moo&moo=poo HTTP/1.1 HEAD /48?foo=moo&moo=poo HTTP/1.1
Host: 127.0.0.1:%HTTPPORT Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*
</protocol> </protocol>
</verify> </verify>

View File

@ -9,8 +9,8 @@ ETag: "21025-dc7-39462498"
</data> </data>
<datacheck> <datacheck>
HTTP/1.1 200 Mighty fine indeed HTTP/1.1 200 Mighty fine indeed
HTTP/1.1 200 OK swsclose HTTP/1.1 200 OK swsclose
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

View File

@ -41,10 +41,10 @@ https://127.0.0.1:%HTTPSPORT/dvcs %HTTPSPORT
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET /509 HTTP/1.1 GET /509 HTTP/1.1
Host: 127.0.0.1:%HTTPSPORT Host: 127.0.0.1:%HTTPSPORT
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*
</protocol> </protocol>
</verify> </verify>

View File

@ -42,13 +42,13 @@ Transfer-Encoding: chunked
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
3 3
one one
3 3
two two
5 5
three three
1d 1d
and a final longer crap: four and a final longer crap: four
0 0
</protocol> </protocol>

View File

@ -32,7 +32,7 @@ http://we.want.that.site.com/63
</strip> </strip>
<protocol> <protocol>
GET http://we.want.that.site.com/63 HTTP/1.1 GET http://we.want.that.site.com/63 HTTP/1.1
Proxy-Authorization: Basic ZmFrZTp1c2Vy Proxy-Authorization: Basic ZmFrZTp1c2Vy
Host: we.want.that.site.com Host: we.want.that.site.com
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*

View File

@ -29,7 +29,7 @@ HTTP/1.1 200 OK swsclose
Server: Apache/1.3.27 (Darwin) PHP/4.1.2 Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
This IS the real page! This IS the real page!
</datacheck> </datacheck>
</reply> </reply>

View File

@ -11,8 +11,8 @@ Funny-head: yesyes
contents contents
</data> </data>
<datacheck> <datacheck>
HTTP/1.1 200 Mighty fine indeed HTTP/1.1 200 Mighty fine indeed
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose Server: test-server/fake swsclose

View File

@ -11,8 +11,8 @@ Funny-head: yesyes
contents contents
</data> </data>
<datacheck> <datacheck>
HTTP/1.1 200 Mighty fine indeed HTTP/1.1 200 Mighty fine indeed
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose Server: test-server/fake swsclose

View File

@ -36,7 +36,7 @@ Server: Apache/1.3.27 (Darwin) PHP/4.1.2
Content-Type: text/html; charset=iso-8859-1 Content-Type: text/html; charset=iso-8859-1
Connection: close Connection: close
This IS the real page! This IS the real page!
</datacheck> </datacheck>
</reply> </reply>

View File

@ -11,8 +11,8 @@ Funny-head: yesyes
contents contents
</data> </data>
<datacheck> <datacheck>
HTTP/1.1 200 Mighty fine indeed HTTP/1.1 200 Mighty fine indeed
HTTP/1.1 200 OK HTTP/1.1 200 OK
Date: Thu, 09 Nov 2010 14:49:00 GMT Date: Thu, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose Server: test-server/fake swsclose

View File

@ -36,9 +36,9 @@ POST /97 HTTP/1.1
Host: 127.0.0.1:%HTTPPORT Host: 127.0.0.1:%HTTPPORT
Pragma: no-cache Pragma: no-cache
Accept: */* Accept: */*
Content-Type: silly/type Content-Type: silly/type
Content-Length: 14 Content-Length: 14
hejsanallabarn hejsanallabarn
</protocol> </protocol>
</verify> </verify>

View File

@ -41,7 +41,7 @@ Pragma: no-cache
Accept: */* Accept: */*
Content-Length: 14 Content-Length: 14
Expect: 100-continue Expect: 100-continue
data on stdin data on stdin
</protocol> </protocol>
</verify> </verify>