Hi,

wget sets some headers. Is there a way to remove some headers, e.g.,
Accept-Encoding? Thanks.

$ wget -qO- http://httpbin.org/get
{
  "args": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "identity",
    "Connection": "close",
    "Host": "httpbin.org",
    "User-Agent": "Wget/1.16.3 (darwin13.4.0)"
  },
  "origin": "165.91.87.88",
  "url": "http://httpbin.org/get";
}

-- 
Regards,
Peng

Reply via email to