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