wolfSSL: Use LIBWOLFSSL_VERSION_HEX to decide whether or not to use WOLFSSL_X509_V_OK
[privoxy.git] / tests / cts / client-body-tagger / data / test2
1 <testcase>
2 <info>
3 <keywords>
4 HTTP
5 HTTP POST
6 client-body-tagger
7 </keywords>
8 </info>
9
10 <reply>
11 <data>
12 HTTP/1.1 200 OK
13 Connection: close
14 Content-Type: text/html
15 X-Connection: swsclose
16
17 Received your input.
18 </data>
19 </reply>
20
21 <client>
22 <server>
23 http
24 </server>
25 <name>
26 Two requests to the same URL. The second one is large and blocked based on a tag applied with the client-body-tagger{blafasel}.
27 </name>
28 <features>
29 proxy
30 </features>
31 <command>
32 -s --write-out '%{stderr}%{response_code}\n' http://%HOSTIP:%HTTPPORT/%TESTNUMBER --next -d "blafasel%repeat[5000 x padding]%" -s --write-out '%{stderr}%{response_code}\n' http://%HOSTIP:%HTTPPORT/%TESTNUMBER
33 </command>
34 </client>
35
36 <verify>
37 <protocol>
38 GET /%TESTNUMBER HTTP/1.1\r
39 Host: %HOSTIP:%HTTPPORT\r
40 User-Agent: curl/%VERSION\r
41 Accept: */*\r
42 Connection: close\r
43 \r
44 </protocol>
45 <stderr>
46 200
47 403
48 </stderr>
49
50 </verify>
51 </testcase>