Hi,

On 02/09/2018 12:40 AM, Peng Yu wrote:
> Hi,
> 
> wget sets some headers. Is there a way to remove some headers, e.g.,
> Accept-Encoding? Thanks.

No, you can change headers and add headers. But it looks like nobody
ever needed/asked for an option to remove headers.

With Best Regards, Tim



> 
> $ 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";
> }
> 

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to