2007-01-23 02:25:56 +00:00
|
|
|
<testcase>
|
2008-07-07 23:52:52 +00:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
HTTP
|
|
|
|
HTTP GET
|
2008-09-29 22:44:04 +00:00
|
|
|
HTTP proxy
|
2008-07-07 23:52:52 +00:00
|
|
|
IDN
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2004-04-29 13:43:04 +00:00
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2008-07-07 23:52:52 +00: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 13:43:04 +00:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
http
|
|
|
|
</server>
|
|
|
|
<features>
|
|
|
|
idn
|
2019-10-14 22:29:19 +02:00
|
|
|
proxy
|
2004-04-29 13:43:04 +00:00
|
|
|
</features>
|
|
|
|
<setenv>
|
2019-12-19 10:10:54 +01:00
|
|
|
LC_ALL=en_US.UTF-8
|
2017-02-23 21:47:17 +01:00
|
|
|
LC_CTYPE=en_US.UTF-8
|
2004-04-29 13:43:04 +00:00
|
|
|
</setenv>
|
2017-02-23 21:47:17 +01:00
|
|
|
<precheck>
|
|
|
|
perl -MI18N::Langinfo=langinfo,CODESET -e 'die "Needs a UTF-8 locale" if (lc(langinfo(CODESET())) ne "utf-8");'
|
|
|
|
</precheck>
|
2004-04-29 13:43:04 +00:00
|
|
|
<name>
|
|
|
|
HTTP over proxy with IDN host name
|
|
|
|
</name>
|
|
|
|
<command>
|
2016-10-31 08:35:08 +01:00
|
|
|
http://www.åäö.se/page/165 -x %HOSTIP:%HTTPPORT http://www.große.de/page/165
|
2004-04-29 13:43:04 +00:00
|
|
|
</command>
|
2005-01-25 21:45:03 +00:00
|
|
|
</client>
|
2004-04-29 13:43:04 +00: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: */*
|
2016-08-16 08:36:04 +02:00
|
|
|
Proxy-Connection: Keep-Alive
|
2004-04-29 13:43:04 +00:00
|
|
|
|
2016-10-31 08:35:08 +01:00
|
|
|
GET http://www.xn--groe-xna.de/page/165 HTTP/1.1
|
|
|
|
Host: www.xn--groe-xna.de
|
|
|
|
Accept: */*
|
|
|
|
Proxy-Connection: Keep-Alive
|
|
|
|
|
2004-04-29 13:43:04 +00:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 02:25:56 +00:00
|
|
|
</testcase>
|