Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test165
blob4d452132d77a2db5f700752c6224c5008e01fcdf
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 IDN
7 </keywords>
8 </info>
11 # Server-side
12 <reply>
13 <data>
14 HTTP/1.1 200 OK
15 Date: Thu, 09 Nov 2010 14:49:00 GMT
16 Server: test-server/fake swsclose
17 Content-Type: text/html
18 Funny-head: yesyes
20 </data>
21 </reply>
24 # Client-side
25 <client>
26 <server>
27 http
28 </server>
29 <features>
30 idn
31 </features>
32 <setenv>
33 CHARSET=ISO8859-1
34 </setenv>
35  <name>
36 HTTP over proxy with IDN host name
37  </name>
38  <command>
39 http://www.åäö.se/page/165 -x %HOSTIP:%HTTPPORT
40 </command>
41 </client>
44 # Verify data after the test has been "shot"
45 <verify>
46 <strip>
47 ^User-Agent:.*
48 </strip>
49 <protocol>
50 GET http://www.xn--4cab6c.se/page/165 HTTP/1.1
51 Host: www.xn--4cab6c.se
52 Pragma: no-cache
53 Accept: */*
54 Proxy-Connection: Keep-Alive
56 </protocol>
57 </verify>
58 </testcase>