1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7IDN
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data>
15HTTP/1.1 200 OK
16Date: Thu, 09 Nov 2010 14:49:00 GMT
17Server: test-server/fake swsclose
18Content-Type: text/html
19Funny-head: yesyes
20
21</data>
22</reply>
23
24#
25# Client-side
26<client>
27<server>
28http
29</server>
30<features>
31idn
32</features>
33<setenv>
34CHARSET=ISO8859-1
35</setenv>
36 <name>
37HTTP over proxy with IDN host name
38 </name>
39 <command>
40http://www.���.se/page/165 -x %HOSTIP:%HTTPPORT
41</command>
42</client>
43
44#
45# Verify data after the test has been "shot"
46<verify>
47<strip>
48^User-Agent:.*
49</strip>
50<protocol>
51GET http://www.xn--4cab6c.se/page/165 HTTP/1.1
52Host: www.xn--4cab6c.se
53Accept: */*
54Proxy-Connection: Keep-Alive
55
56</protocol>
57</verify>
58</testcase>
59