aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-03 02:06:44 +0000
committerYang Tse <yangsita@gmail.com>2007-03-03 02:06:44 +0000
commitbfd6474f6b13d6aa276c1d76fb435815db2482c9 (patch)
treef86a3a8313c4f0ee93ffeb6e77692f1823c11894
parentd3b89e114a3eccd619c4a069223e5fc9a4488904 (diff)
downloadgnurl-bfd6474f6b13d6aa276c1d76fb435815db2482c9.tar.gz
gnurl-bfd6474f6b13d6aa276c1d76fb435815db2482c9.tar.bz2
gnurl-bfd6474f6b13d6aa276c1d76fb435815db2482c9.zip
stricter newline policy
-rw-r--r--tests/data/test27882
-rw-r--r--tests/data/test27982
2 files changed, 82 insertions, 82 deletions
diff --git a/tests/data/test278 b/tests/data/test278
index 5b24df82c..411cc6318 100644
--- a/tests/data/test278
+++ b/tests/data/test278
@@ -1,43 +1,43 @@
<testcase>
-<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>
+<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
Proxy-Authorization: Basic ZmFrZTo=
Host: we.want.that.site.com
@@ -45,6 +45,6 @@ Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive
-</protocol>
-</verify>
+</protocol>
+</verify>
</testcase>
diff --git a/tests/data/test279 b/tests/data/test279
index 150c767c8..1328a8c59 100644
--- a/tests/data/test279
+++ b/tests/data/test279
@@ -1,43 +1,43 @@
<testcase>
-<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>
+<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
Proxy-Authorization: Basic ZmFrZUAxMjcuMC4wLjE6ODk5MA0=
Host: we.want.that.site.com
@@ -45,6 +45,6 @@ Pragma: no-cache
Accept: */*
Proxy-Connection: Keep-Alive
-</protocol>
-</verify>
+</protocol>
+</verify>
</testcase>