mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
Update HTTPProxy.cpp (#1794)
Remove DoNotTrack flag from HTTP Request header.
This commit is contained in:
parent
f3aada9e1a
commit
01ea1854bc
|
@ -249,6 +249,7 @@ namespace proxy {
|
|||
req.RemoveHeader("Via");
|
||||
req.RemoveHeader("From");
|
||||
req.RemoveHeader("Forwarded");
|
||||
req.RemoveHeader("DNT"); // Useless DoNotTrack flag
|
||||
req.RemoveHeader("Accept", "Accept-Encoding"); // Accept*, but Accept-Encoding
|
||||
/* drop proxy-disclosing headers */
|
||||
req.RemoveHeader("X-Forwarded");
|
||||
|
|
Loading…
Reference in a new issue