bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] How to remove a header?


From: Tim Rühsen
Subject: Re: [Bug-wget] How to remove a header?
Date: Fri, 9 Feb 2018 09:45:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

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

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