2007-01-23 10:25:56 +08:00
|
|
|
|
<testcase>
|
2008-07-08 07:52:52 +08:00
|
|
|
|
<info>
|
|
|
|
|
<keywords>
|
|
|
|
|
HTTP
|
|
|
|
|
HTTP GET
|
2008-09-30 06:44:04 +08:00
|
|
|
|
HTTP proxy
|
2008-07-08 07:52:52 +08:00
|
|
|
|
IDN
|
|
|
|
|
</keywords>
|
|
|
|
|
</info>
|
|
|
|
|
|
2004-04-29 21:43:04 +08:00
|
|
|
|
#
|
|
|
|
|
# Server-side
|
|
|
|
|
<reply>
|
|
|
|
|
<data>
|
2008-07-08 07:52:52 +08:00
|
|
|
|
HTTP/1.1 200 OK
|
|
|
|
|
Date: Thu, 09 Nov 2010 14:49:00 GMT
|
|
|
|
|
Server: test-server/fake swsclose
|
|
|
|
|
Content-Type: text/html
|
|
|
|
|
Funny-head: yesyes
|
|
|
|
|
|
2004-04-29 21:43:04 +08:00
|
|
|
|
</data>
|
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Client-side
|
|
|
|
|
<client>
|
|
|
|
|
<server>
|
|
|
|
|
http
|
|
|
|
|
</server>
|
|
|
|
|
<features>
|
|
|
|
|
idn
|
|
|
|
|
</features>
|
|
|
|
|
<setenv>
|
2004-10-20 02:46:12 +08:00
|
|
|
|
CHARSET=ISO8859-1
|
2004-04-29 21:43:04 +08:00
|
|
|
|
</setenv>
|
|
|
|
|
<name>
|
|
|
|
|
HTTP over proxy with IDN host name
|
|
|
|
|
</name>
|
|
|
|
|
<command>
|
2004-09-08 16:08:38 +08:00
|
|
|
|
http://www.<2E><><EFBFBD>.se/page/165 -x %HOSTIP:%HTTPPORT
|
2004-04-29 21:43:04 +08:00
|
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
|
</client>
|
2004-04-29 21:43:04 +08:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
|
<verify>
|
|
|
|
|
<strip>
|
|
|
|
|
^User-Agent:.*
|
|
|
|
|
</strip>
|
|
|
|
|
<protocol>
|
|
|
|
|
GET http://www.xn--4cab6c.se/page/165 HTTP/1.1
|
|
|
|
|
Host: www.xn--4cab6c.se
|
|
|
|
|
Accept: */*
|
2005-05-11 17:52:59 +08:00
|
|
|
|
Proxy-Connection: Keep-Alive
|
2004-04-29 21:43:04 +08:00
|
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
|
</testcase>
|