Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Utilities / cmcurl-7.19.0 / tests / data / test1034
blob8631502864f5f6500399d2e9fb6900d2e6f1030d
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 IDN
7 FAILURE
8 </keywords>
9 </info>
12 # Server-side
13 <reply>
14 <data>
15 HTTP/1.0 503 Service Unavailable
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
21 </data>
22 </reply>
25 # Client-side
26 <client>
27 <server>
28 http
29 </server>
30 <features>
31 idn
32 </features>
33 <setenv>
34 CHARSET=UTF-8
35 </setenv>
36  <name>
37 HTTP over proxy with malformatted IDN host name
38  </name>
40 # This host name contains an invalid UTF-8 byte sequence that can't be
41 # converted into an IDN name
42  <command>
43 http://invalid-utf8-â�.local/page/1034 -x %HOSTIP:%HTTPPORT
44 </command>
45 </client>
48 # Verify data after the test has been "shot"
49 <verify>
50 <strip>
51 ^User-Agent:.*
52 </strip>
53 <protocol>
54 GET http://invalid-utf8-â�.local/page/1034 HTTP/1.1
55 Host: invalid-utf8-â�.local
56 Pragma: no-cache
57 Accept: */*
58 Proxy-Connection: Keep-Alive
60 </protocol>
61 </verify>
62 </testcase>