]> rtime.felk.cvut.cz Git - hornmich/skoda-qr-demo.git/blob - QRScanner/mobile/jni/thirdparty/curl/tests/data/test1319
Add MuPDF native source codes
[hornmich/skoda-qr-demo.git] / QRScanner / mobile / jni / thirdparty / curl / tests / data / test1319
1 <testcase>
2 <info>
3 <keywords>
4 POP3
5 RETR
6 HTTP
7 HTTP CONNECT
8 HTTP proxy
9 </keywords>
10 </info>
11 #
12 # Server-side
13 <reply>
14
15 <connect>
16 HTTP/1.1 200 Mighty fine indeed\r
17 pop3: sure hit me\r
18 \r
19 </connect>
20
21 # When doing LIST, we get the default list output hard-coded in the test
22 # FTP server
23 <data>
24 From: me@somewhere
25 To: fake@nowhere
26
27 body
28
29 --
30   yours sincerely\r
31 </data>
32
33 <datacheck>
34 HTTP/1.1 200 Mighty fine indeed\r
35 pop3: sure hit me\r
36 \r
37 From: me@somewhere
38 To: fake@nowhere
39
40 body
41
42 --
43   yours sincerely\r
44 </datacheck>
45 </reply>
46
47 #
48 # Client-side
49 <client>
50 <server>
51 pop3
52 http-proxy
53 </server>
54  <name>
55 POP3 fetch tunneled through HTTP proxy
56  </name>
57  <command>
58 pop3://pop.1319:%POP3PORT/1319 -p -x %HOSTIP:%PROXYPORT -u user:secret
59 </command>
60 </client>
61
62 #
63 # Verify data after the test has been "shot"
64 <verify>
65 <strip>
66 ^User-Agent:
67 </strip>
68 <protocol>
69 CAPA\r
70 USER user\r
71 PASS secret\r
72 RETR 1319\r
73 QUIT\r
74 </protocol>
75 <proxy>
76 CONNECT pop.1319:%POP3PORT HTTP/1.1\r
77 Host: pop.1319:%POP3PORT\r
78 User-Agent: curl/7.24.0-DEV (i686-pc-linux-gnu) libcurl/7.24.0-DEV OpenSSL/1.0.0e zlib/1.2.3.4 c-ares/1.7.6-DEV libidn/1.23 libssh2/1.4.0_DEV librtmp/2.2e\r
79 Proxy-Connection: Keep-Alive\r
80 \r
81 </proxy>
82 </verify>
83 </testcase>