Add test scenario client-tags
[privoxy.git] / tests / cts / client-tags / data / test2
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP GET
6 </keywords>
7 </info>
8
9 <client>
10 <server>
11 http
12 </server>
13 <name>
14 Attempt to enable client-tag to disable block action for follow-up request without trusted Referer
15 </name>
16 <command>
17 -s --write-out '%{stderr}%{response_code}\n' 'http://p.p/toggle-client-tag?tag=overrule-blocks&toggle-state=1&expires=1' --next -s --write-out '%{stderr}%{response_code}\n' http://%HOSTIP:%HTTPPORT/block-request/
18 </command>
19 </client>
20
21 <verify>
22 <stderr>
23 403
24 403
25 </stderr>
26 </verify>
27 </testcase>