Add tests for rewrite behind the client's back with https
[privoxy.git] / tests / cts / rewrite-behind-client-back-https / data / test5
1 <testcase>
2 <info>
3 <keywords>
4 HTTPS
5 HTTP GET
6 </keywords>
7 </info>
8
9 <reply>
10 <data>
11 HTTP/1.1 200 OK
12 Connection: close
13 Content-Type: text/html
14 Content-Length: 18
15
16 Here's your data.
17 </data>
18 </reply>
19
20 <proxy-reply>
21 <data>
22 HTTP/1.1 200 Connection established
23
24 HTTP/1.1 400 Malformed request after rewriting
25 Content-Type: text/plain
26 Connection: close
27
28 Bad request. Messed up with header filters.
29 </data>
30 </proxy-reply>
31
32
33 <client>
34 <server>
35 none
36 </server>
37 <name>
38 Rewrite behind the client's back: unsupporte http version
39 </name>
40 <command>
41 --insecure https://%HOSTIP/%TESTNUMBER
42 </command>
43 </client>
44
45 <verify>
46 </verify>
47 </testcase>