2005-04-22 17:59:08 -04:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
|
|
|
--write-out
|
|
|
|
</keywords>
|
|
|
|
</info>
|
2003-01-30 00:03:19 -05:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2003-07-19 19:57:08 -04:00
|
|
|
HTTP/1.1 200 OK swsclose
|
2003-01-30 00:03:19 -05:00
|
|
|
Funny-head: yesyes
|
|
|
|
Content-Type: text/html; charset=ISO-8859-4
|
|
|
|
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-04-30 16:25:39 -04:00
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
2003-01-30 00:03:19 -05:00
|
|
|
<name>
|
|
|
|
HTTP content-type with spaces in
|
|
|
|
</name>
|
|
|
|
<command>
|
2004-09-08 04:08:38 -04:00
|
|
|
-w '%{content_type}\n' %HOSTIP:%HTTPPORT/57 -o log/out57
|
2003-01-30 00:03:19 -05:00
|
|
|
</command>
|
|
|
|
</test>
|
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<file name="log/out57">
|
|
|
|
text/html; charset=ISO-8859-4
|
|
|
|
</file>
|
|
|
|
<strip>
|
|
|
|
^User-Agent:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
GET /57 HTTP/1.1
|
2004-09-08 04:08:38 -04:00
|
|
|
Host: 127.0.0.1:%HTTPPORT
|
2003-01-30 00:03:19 -05:00
|
|
|
Pragma: no-cache
|
2004-02-09 07:46:41 -05:00
|
|
|
Accept: */*
|
2003-01-30 00:03:19 -05:00
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|