wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / client-tags / data / test6
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 </keywords>
7 </info>
8
9 <reply>
10 <data>
11 HTTP/1.1 200 OK
12 Content-Length: 21
13 Content-Type: text/html
14
15 Received your input.
16 </data>
17 </reply>
18
19 <client>
20 <server>
21 http
22 </server>
23 <name>
24 Enabling client-tag to disable block action for follow-up request with Referer specified with trusted-cgi-referer and disabling the tag again reusing the connection (based on test 5)
25 </name>
26 <command option="no-include">
27 -s --write-out '%{stderr}%{response_code}\n' --referer "http://www.electrobsd.org/" 'http://p.p/toggle-client-tag?tag=overrule-blocks&toggle-state=1&expires=1' --next -s --include --output log/curl%TESTNUMBER.out --write-out '%{stderr}%{response_code}\n' http://%HOSTIP:%HTTPPORT/block-request/ --next -s --write-out '%{stderr}%{response_code}\n' --referer "http://www.electrobsd.org/" 'http://p.p/toggle-client-tag?tag=overrule-blocks&toggle-state=0&expires=1' --next --write-out '%{stderr}%{response_code}\n' http://%HOSTIP:%HTTPPORT/block-request/
28 </command>
29 </client>
30
31 <verify>
32 <stderr>
33 302
34 200
35 302
36 403
37 </stderr>
38 </verify>
39 </testcase>