wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / content-filters / data / test8
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 filter img-reorder
7 </keywords>
8 </info>
9
10 <reply>
11 <data>
12 HTTP/1.1 200 OK\r
13 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
14 Connection: close\r
15 Content-Type: text/html\r
16 X-Control: swsclose\r
17 \r
18 # Here are some strings the img-reorder filter should modify:
19
20 <img alt="blafasel" src="http://example.org/">
21 <img alt="blafasel" title="blafasel" src="http://example.org/">
22 <img alt='blafasel' title='blafasel' src="http://example.org/">
23 <img width="100" height="100" src="http://example.org/">
24 <img width=100 height=100 src="http://example.org/">
25 <img width=100 height='100' src="http://example.org/">
26 <img width="100" height=100 src="http://example.org/">
27 <img width="100" height=100 src="http://example.org/">
28 <img width=100 src="http://example.org/" height='100'>
29 <img  src="http://example.org/" width="100" height=100>
30 <img width="100" height=100 src="http://example.org/">
31
32 <img src="http://example.org/" alt="blafasel">
33
34 <img data-index="0" class="lazy" src="" data-original="blafasel.jpg" title="">
35 <img data-index="0" class="lazy" src='' data-original='blafasel.jpg' title="">
36
37 <img data-index="0" class="lazy" src="a" data-original="blafasel.jpg" title="">
38 <img data-index="0" class="lazy" src='b' data-original='blafasel.jpg' title="">
39
40 <img width=888 height=573 src=socket.png>
41 </data>
42 </reply>
43
44 <proxy-reply>
45 <data>
46 HTTP/1.1 200 OK\r
47 Date: Thu, 22 Jul 2010 11:22:33 GMT\r
48 Connection: close\r
49 Content-Type: text/html\r
50 X-Control: swsclose\r
51 Content-Length: 1089\r
52 \r
53 # Here are some strings the img-reorder filter should modify:
54
55 <img src="http://example.org/" alt="blafasel">
56 <img src="http://example.org/" alt="blafasel" title="blafasel">
57 <img src="http://example.org/" alt='blafasel' title='blafasel'>
58 <img src="http://example.org/" width="100" height="100">
59 <img src="http://example.org/" width=100 height=100>
60 <img src="http://example.org/" width=100 height='100'>
61 <img src="http://example.org/" width="100" height=100>
62 <img src="http://example.org/" width="100" height=100>
63 <img src="http://example.org/" width=100 height='100'>
64 <img src="http://example.org/" width="100" height=100>
65 <img src="http://example.org/" width="100" height=100>
66
67 <img src="http://example.org/" alt="blafasel">
68
69 <img data-index="0" class="lazy" src="" data-original="blafasel.jpg" title="">
70 <img data-index="0" class="lazy" src='' data-original='blafasel.jpg' title="">
71
72 <img src="a" data-index="0" class="lazy" data-original="blafasel.jpg" title="">
73 <img src='b' data-index="0" class="lazy" data-original='blafasel.jpg' title="">
74
75 <img src=socket.png width=888 height=573>
76 </data>
77 </proxy-reply>
78
79
80 <client>
81 <server>
82 http
83 </server>
84 <name>
85 +filter{img-reorder}
86 </name>
87 <features>
88 proxy
89 </features>
90 <command>
91 http://%HOSTIP:%HTTPPORT/img-reorder/%TESTNUMBER
92 </command>
93 </client>
94
95 <verify>
96 <protocol>
97 GET /img-reorder/%TESTNUMBER HTTP/1.1\r
98 Host: %HOSTIP:%HTTPPORT\r
99 User-Agent: curl/%VERSION\r
100 Accept: */*\r
101 Connection: close\r
102 \r
103 </protocol>
104 </verify>
105 </testcase>