1<testcase>
2<info>
3<keywords>
4HTTP
5HTTP GET
6HTTP proxy
7IDN
8FAILURE
9</keywords>
10</info>
11
12#
13# Server-side
14<reply>
15<data>
16HTTP/1.0 503 Service Unavailable
17Date: Thu, 09 Nov 2010 14:49:00 GMT
18Server: test-server/fake swsclose
19Content-Type: text/html
20Funny-head: yesyes
21
22</data>
23</reply>
24
25#
26# Client-side
27<client>
28<server>
29http
30</server>
31<features>
32idn
33</features>
34<setenv>
35CHARSET=UTF-8
36</setenv>
37 <name>
38HTTP over proxy with malformatted IDN host name
39 </name>
40
41# This host name contains an invalid UTF-8 byte sequence that can't be
42# converted into an IDN name
43 <command>
44http://invalid-utf8-�.local/page/1034 -x %HOSTIP:%HTTPPORT
45</command>
46</client>
47
48#
49# Verify data after the test has been "shot"
50<verify>
51<strip>
52^User-Agent:.*
53</strip>
54<protocol>
55GET http://invalid-utf8-�.local/page/1034 HTTP/1.1
56Host: invalid-utf8-�.local
57Accept: */*
58Proxy-Connection: Keep-Alive
59
60</protocol>
61</verify>
62</testcase>
63