|
|
@ -202,8 +202,9 @@ namespace proxy { |
|
|
|
/* drop common headers */ |
|
|
|
/* drop common headers */ |
|
|
|
req.RemoveHeader("Referer"); |
|
|
|
req.RemoveHeader("Referer"); |
|
|
|
req.RemoveHeader("Via"); |
|
|
|
req.RemoveHeader("Via"); |
|
|
|
|
|
|
|
req.RemoveHeader("From"); |
|
|
|
req.RemoveHeader("Forwarded"); |
|
|
|
req.RemoveHeader("Forwarded"); |
|
|
|
req.RemoveHeader("Accept-", "Accept-Encoding"); // Accept-*, but Accept-Encoding
|
|
|
|
req.RemoveHeader("Accept", "Accept-Encoding"); // Accept*, but Accept-Encoding
|
|
|
|
/* drop proxy-disclosing headers */ |
|
|
|
/* drop proxy-disclosing headers */ |
|
|
|
req.RemoveHeader("X-Forwarded"); |
|
|
|
req.RemoveHeader("X-Forwarded"); |
|
|
|
req.RemoveHeader("Proxy-"); // Proxy-*
|
|
|
|
req.RemoveHeader("Proxy-"); // Proxy-*
|
|
|
|