1 <testcase> 2 <info> 3 <keywords> 4 HTTP 5 HTTP GET 6 HTTP proxy 7 IDN 8 FAILURE 9 </keywords> 10 </info> 11 12 # 13 # Server-side 14 <reply> 15 <data> 16 HTTP/1.0 503 Service Unavailable 17 Date: Thu, 09 Nov 2010 14:49:00 GMT 18 Server: test-server/fake swsclose 19 Content-Type: text/html 20 Funny-head: yesyes 21 22 </data> 23 </reply> 24 25 # 26 # Client-side 27 <client> 28 <server> 29 http 30 </server> 31 <features> 32 idn 33 </features> 34 <setenv> 35 CHARSET=ISO8859-1 36 </setenv> 37 <name> 38 HTTP over proxy with too long IDN host name 39 </name> 40 <command> 41 http://too-long-IDN-name-crl-rles-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> 52 GET http://too-long-IDN-name-crl-rles-la-la-la-dee-da-flooby-nooby.local/page/1035 HTTP/1.1 53 Host: too-long-IDN-name-crl-rles-la-la-la-dee-da-flooby-nooby.local 54 Accept: */* 55 56 </protocol> 57 </verify> 58 </testcase> 59