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