<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
HTTP GET
HTTP proxy
IDN
</keywords>
</info>

# Server-side
<reply>
<data crlf="headers">
HTTP/1.1 200 OK
Date: Tue, 09 Nov 2010 14:49:00 GMT
Server: test-server/fake swsclose
Content-Type: text/html
Funny-head: yesyes

</data>
</reply>

# Client-side
<client>
<server>
http
</server>
<features>
IDN
proxy
codeset-utf8
</features>
<setenv>
LC_ALL=C.UTF-8
</setenv>
<name>
HTTP over proxy with IDN hostname
</name>
<command>
http://www.%hex[%c3%a5%c3%a4%c3%b6]hex%.se/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT http://www.gro%hex[%c3%9f]hex%e.de/page/%TESTNUMBER
</command>
</client>

# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET http://www.xn--4cab6c.se/page/%TESTNUMBER HTTP/1.1
Host: www.xn--4cab6c.se
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive

GET http://www.xn--groe-xna.de/page/%TESTNUMBER HTTP/1.1
Host: www.xn--groe-xna.de
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive

</protocol>
</verify>
</testcase>
