projects
/
privoxy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add redirect tests
[privoxy.git]
/
tests
/
cts
/
redirects
/
data
/
test1
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 302 Local Redirect from Privoxy
23
Location: http://www.privoxy.org
24
Content-Length: 0
25
X-Ignore-Header: Date
26
Date: Sun, 10 Jan 2021 08:13:02 GMT
27
28
</data>
29
</proxy-reply>
30
31
<client>
32
<server>
33
none
34
</server>
35
<name>
36
Redirect to http://www.privoxy.org
37
</name>
38
<command>
39
http://%HOSTIP/%TESTNUMBER-redirect-me-to-www.privoxy.org
40
</command>
41
</client>
42
43
<verify>
44
</verify>
45
</testcase>