]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test1408
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test1408
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 IPV6
7 cookies
8 cookiejar
9 </keywords>
10 </info>
11 #
12 # Server-side
13 <reply>
14 <data1>
15 HTTP/1.1 200 OK
16 Date: Thu, 09 Nov 2010 14:49:00 GMT
17 Content-Length: 6
18 Connection: close
19 Content-Type: text/html
20 Set-Cookie: time=1
21
22 -foo-
23 </data1>
24 <data2>
25 HTTP/1.1 200 OK
26 Date: Thu, 09 Nov 2010 14:49:00 GMT
27 Content-Length: 6
28 Connection: close
29 Content-Type: text/html
30 Set-Cookie: time=2
31
32 -foo-
33 </data2>
34
35
36 </reply>
37
38 #
39 # Client-side
40 <client>
41 <features>
42 ipv6
43 </features>
44 <server>
45 http-ipv6
46 </server>
47  <name>
48 HTTP receive cookies over IPV6
49  </name>
50  <command>
51 -c log/jar1408 -g http://%HOST6IP:%HTTP6PORT/path/14080001 http://%HOST6IP:%HTTP6PORT/path/14080002
52 </command>
53 </client>
54
55 #
56 # Verify data after the test has been "shot"
57 <verify>
58 <strip>
59 ^User-Agent:.*
60 </strip>
61 <protocol>
62 GET /path/14080001 HTTP/1.1\r
63 Host: %HOST6IP:%HTTP6PORT\r
64 Accept: */*\r
65 \r
66 GET /path/14080002 HTTP/1.1\r
67 Host: %HOST6IP:%HTTP6PORT\r
68 Accept: */*\r
69 Cookie: time=1\r
70 \r
71 </protocol>
72 </verify>
73 </testcase>
74