bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] How to remove a header?


From: Peng Yu
Subject: [Bug-wget] How to remove a header?
Date: Thu, 8 Feb 2018 17:40:50 -0600

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

[Prev in Thread] Current Thread [Next in Thread]