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