projects
/
privoxy.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add test scenario chunked-transfer-encoding-https
[privoxy.git]
/
templates
/
wpad.dat
1
function FindProxyForURL(url, host) {
2
var proxy = "PROXY @my-ip-address@:@my-port@; DIRECT";
3
var direct = "DIRECT";
4
if (isPlainHostName(host)) {
5
return direct;
6
}
7
if (url.substring(0, 4) == "ftp:" || url.substring(0, 6) == "rsync:") {
8
return direct;
9
}
10
return proxy;
11
}