xref: /curl/tests/data/test165 (revision 0b70b23e)
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: Tue, 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
32proxy
33codeset-utf8
34</features>
35<setenv>
36LC_ALL=en_US.UTF-8
37LC_CTYPE=en_US.UTF-8
38</setenv>
39<name>
40HTTP over proxy with IDN host name
41</name>
42<command>
43http://www.åäö.se/page/%TESTNUMBER -x %HOSTIP:%HTTPPORT http://www.große.de/page/%TESTNUMBER
44</command>
45</client>
46
47#
48# Verify data after the test has been "shot"
49<verify>
50<protocol>
51GET http://www.xn--4cab6c.se/page/%TESTNUMBER HTTP/1.1
52Host: www.xn--4cab6c.se
53User-Agent: curl/%VERSION
54Accept: */*
55Proxy-Connection: Keep-Alive
56
57GET http://www.xn--groe-xna.de/page/%TESTNUMBER HTTP/1.1
58Host: www.xn--groe-xna.de
59User-Agent: curl/%VERSION
60Accept: */*
61Proxy-Connection: Keep-Alive
62
63</protocol>
64</verify>
65</testcase>
66