stricter newline policy

This commit is contained in:
Yang Tse 2007-03-03 02:06:44 +00:00
parent d3b89e114a
commit bfd6474f6b
2 changed files with 82 additions and 82 deletions

View File

@ -1,43 +1,43 @@
<testcase> <testcase>
<info> <info>
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
HTTP proxy HTTP proxy
HTTP proxy Basic auth HTTP proxy Basic auth
</keywords> </keywords>
</info> </info>
# Server-side # Server-side
<reply> <reply>
<data> <data>
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
Content-Type: text/html Content-Type: text/html
Content-Length: 27 Content-Length: 27
the content would go here the content would go here
</data> </data>
</reply> </reply>
# Client-side # Client-side
<client> <client>
<server> <server>
http http
</server> </server>
<name> <name>
HTTP with proxy string including http:// and user+empty password HTTP with proxy string including http:// and user+empty password
</name> </name>
<command> <command>
http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT http://we.want.that.site.com/278 -x http://f%61ke:@%HOSTIP:%HTTPPORT
</command> </command>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip> <strip>
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET http://we.want.that.site.com/278 HTTP/1.1 GET http://we.want.that.site.com/278 HTTP/1.1
Proxy-Authorization: Basic ZmFrZTo= Proxy-Authorization: Basic ZmFrZTo=
Host: we.want.that.site.com Host: we.want.that.site.com
@ -45,6 +45,6 @@ Pragma: no-cache
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
</protocol> </protocol>
</verify> </verify>
</testcase> </testcase>

View File

@ -1,43 +1,43 @@
<testcase> <testcase>
<info> <info>
<keywords> <keywords>
HTTP HTTP
HTTP GET HTTP GET
HTTP proxy HTTP proxy
HTTP proxy Basic auth HTTP proxy Basic auth
</keywords> </keywords>
</info> </info>
# Server-side # Server-side
<reply> <reply>
<data> <data>
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
Content-Type: text/html Content-Type: text/html
Content-Length: 27 Content-Length: 27
the content would go here the content would go here
</data> </data>
</reply> </reply>
# Client-side # Client-side
<client> <client>
<server> <server>
http http
</server> </server>
<name> <name>
HTTP with proxy string including http:// and user only HTTP with proxy string including http:// and user only
</name> </name>
<command> <command>
http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT http://we.want.that.site.com/279 -x http://f%61ke@%HOSTIP:%HTTPPORT
</command> </command>
</client> </client>
# Verify data after the test has been "shot" # Verify data after the test has been "shot"
<verify> <verify>
<strip> <strip>
^User-Agent:.* ^User-Agent:.*
</strip> </strip>
<protocol> <protocol>
GET http://we.want.that.site.com/279 HTTP/1.1 GET http://we.want.that.site.com/279 HTTP/1.1
Proxy-Authorization: Basic ZmFrZUAxMjcuMC4wLjE6ODk5MA0= Proxy-Authorization: Basic ZmFrZUAxMjcuMC4wLjE6ODk5MA0=
Host: we.want.that.site.com Host: we.want.that.site.com
@ -45,6 +45,6 @@ Pragma: no-cache
Accept: */* Accept: */*
Proxy-Connection: Keep-Alive Proxy-Connection: Keep-Alive
</protocol> </protocol>
</verify> </verify>
</testcase> </testcase>