Add tests for destination rewrite
[privoxy.git] / tests / cts / rewrite-behind-client-back / data / test5
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 Connection: close
13 Content-Type: text/html
14 Content-Length: 29
15
16 Not actually used.
17 </data>
18 </reply>
19
20 <proxy-reply>
21 <data>
22 HTTP/1.1 400 Malformed request after rewriting
23 Content-Type: text/plain
24 Connection: close
25
26 Bad request. Messed up with header filters.
27 </data>
28 </proxy-reply>
29
30 <client>
31 <server>
32 none
33 </server>
34 <name>
35 Rewrite behind the client's back: unsupported http version
36 </name>
37 <command>
38 http://%HOSTIP/%TESTNUMBER
39 </command>
40 </client>
41
42 <verify>
43 </verify>
44 </testcase>