]> granicus.if.org Git - curl/commitdiff
stricter newline policy
authorYang Tse <yangsita@gmail.com>
Sat, 3 Mar 2007 02:06:44 +0000 (02:06 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 3 Mar 2007 02:06:44 +0000 (02:06 +0000)
tests/data/test278
tests/data/test279

index 5b24df82c2ad7fd1c8351ac935b42bd5d3a5f51a..411cc6318a3003e779ecacfc97756181610d25fa 100644 (file)
@@ -1,43 +1,43 @@
 <testcase>
-<info>\r
-<keywords>\r
-HTTP\r
-HTTP GET\r
-HTTP proxy\r
-HTTP proxy Basic auth\r
-</keywords>\r
-</info>\r
-# Server-side\r
-<reply>\r
-<data>\r
-HTTP/1.1 200 OK swsclose\r
-Date: Thu, 09 Nov 2010 14:49:00 GMT\r
-Content-Type: text/html\r
-Content-Length: 27\r
-\r
-the content would go here\r
-</data>\r
-</reply>\r
-\r
-# Client-side\r
-<client>\r
-<server>\r
-http\r
-</server>\r
- <name>\r
-HTTP with proxy string including http:// and user+empty password\r
- </name>\r
- <command>\r
-http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT\r
-</command>\r
-</client>\r
-\r
-# Verify data after the test has been "shot"\r
-<verify>\r
-<strip>\r
-^User-Agent:.*\r
-</strip>\r
-<protocol>\r
+<info>
+<keywords>
+HTTP
+HTTP GET
+HTTP proxy
+HTTP proxy Basic auth
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Type: text/html
+Content-Length: 27
+
+the content would go here
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+http
+</server>
+ <name>
+HTTP with proxy string including http:// and user+empty password
+ </name>
+ <command>
+http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
 GET http://we.want.that.site.com/278 HTTP/1.1\r
 Proxy-Authorization: Basic ZmFrZTo=\r
 Host: we.want.that.site.com\r
@@ -45,6 +45,6 @@ Pragma: no-cache
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
 \r
-</protocol>\r
-</verify>\r
+</protocol>
+</verify>
 </testcase>
index 150c767c8e49222e76bfe396b3935d1dc1c5237d..1328a8c592822c29f8aae6a3d1b7eee784c13a50 100644 (file)
@@ -1,43 +1,43 @@
 <testcase>
-<info>\r
-<keywords>\r
-HTTP\r
-HTTP GET\r
-HTTP proxy\r
-HTTP proxy Basic auth\r
-</keywords>\r
-</info>\r
-# Server-side\r
-<reply>\r
-<data>\r
-HTTP/1.1 200 OK swsclose\r
-Date: Thu, 09 Nov 2010 14:49:00 GMT\r
-Content-Type: text/html\r
-Content-Length: 27\r
-\r
-the content would go here\r
-</data>\r
-</reply>\r
-\r
-# Client-side\r
-<client>\r
-<server>\r
-http\r
-</server>\r
- <name>\r
-HTTP with proxy string including http:// and user only\r
- </name>\r
- <command>\r
-http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT\r
-</command>\r
-</client>\r
-\r
-# Verify data after the test has been "shot"\r
-<verify>\r
-<strip>\r
-^User-Agent:.*\r
-</strip>\r
-<protocol>\r
+<info>
+<keywords>
+HTTP
+HTTP GET
+HTTP proxy
+HTTP proxy Basic auth
+</keywords>
+</info>
+# Server-side
+<reply>
+<data>
+HTTP/1.1 200 OK swsclose
+Date: Thu, 09 Nov 2010 14:49:00 GMT
+Content-Type: text/html
+Content-Length: 27
+
+the content would go here
+</data>
+</reply>
+
+# Client-side
+<client>
+<server>
+http
+</server>
+ <name>
+HTTP with proxy string including http:// and user only
+ </name>
+ <command>
+http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
+</command>
+</client>
+
+# Verify data after the test has been "shot"
+<verify>
+<strip>
+^User-Agent:.*
+</strip>
+<protocol>
 GET http://we.want.that.site.com/279 HTTP/1.1\r
 Proxy-Authorization: Basic ZmFrZUAxMjcuMC4wLjE6ODk5MA0=\r
 Host: we.want.that.site.com\r
@@ -45,6 +45,6 @@ Pragma: no-cache
 Accept: */*\r
 Proxy-Connection: Keep-Alive\r
 \r
-</protocol>\r
-</verify>\r
+</protocol>
+</verify>
 </testcase>