Add tests for rewrite behind the client's back with https
[privoxy.git] / tests / cts / rewrite-behind-client-back-https / data / test4
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 200 OK
25 Connection: close
26 Content-Type: text/html
27 Content-Length: 18
28
29 Here's your data.
30 </data>
31 </proxy-reply>
32
33 <client>
34 <server>
35 https
36 </server>
37 <name>
38 Client header filter that doesn't match anything. According to Valgrind it triggers a "Conditional jump or move depends on uninitialised value(s)"
39 </name>
40 <command>
41 --insecure https:///%HOSTIP:%HTTPSPORT/%TESTNUMBER
42 </command>
43 </client>
44
45 <verify>
46 <protocol>
47 GET /%TESTNUMBER HTTP/1.1\r
48 Host: %HOSTIP:%HTTPSPORT\r
49 User-Agent: curl/%VERSION\r
50 Accept: */*\r
51 \r
52 </protocol>
53 </verify>
54 </testcase>