Browse Source

remove Accept-Language

pull/911/head
orignal 7 years ago
parent
commit
9f824f3aa9
  1. 1
      libi2pd_client/HTTPProxy.cpp

1
libi2pd_client/HTTPProxy.cpp

@ -203,6 +203,7 @@ namespace proxy { @@ -203,6 +203,7 @@ namespace proxy {
req.RemoveHeader ("Referer");
req.RemoveHeader("Via");
req.RemoveHeader("Forwarded");
req.RemoveHeader("Accept-Language"); // TODO: should exclude all Accept-*, but Accept-Encoding
/* drop proxy-disclosing headers */
req.RemoveHeader("X-Forwarded");
req.RemoveHeader("Proxy-");

Loading…
Cancel
Save