]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test165
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test165
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\r
16 Date: Thu, 09 Nov 2010 14:49:00 GMT\r
17 Server: test-server/fake swsclose\r
18 Content-Type: text/html\r
19 Funny-head: yesyes\r
20 \r
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\r
52 Host: www.xn--4cab6c.se\r
53 Accept: */*\r
54 Proxy-Connection: Keep-Alive\r
55 \r
56 </protocol>
57 </verify>
58 </testcase>