• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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=ISO8859-1
36</setenv>
37 <name>
38HTTP over proxy with too long IDN host name
39 </name>
40 <command>
41http://too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local/page/1035 -x %HOSTIP:%HTTPPORT
42</command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<strip>
49^User-Agent:.*
50</strip>
51<protocol>
52GET http://too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local/page/1035 HTTP/1.1
53Host: too-long-IDN-name-c�rl-r�les-la-la-la-dee-da-flooby-nooby.local
54Accept: */*
55Proxy-Connection: Keep-Alive
56
57</protocol>
58</verify>
59</testcase>
60