bugGNU Wget - Bugs: bug #44318, Make sure user can REMOVE any...

 
 

bug #44318: Make sure user can REMOVE any header, not just alter it

Submitted by:  jidanni
Submitted on:  Fri 20 Feb 2015 02:14:57 AM UTC  
 
Category: User InterfaceSeverity: 3 - Normal
Priority: 5 - NormalStatus: Wont Fix
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: NoneOperating System: None
Reproducibility: NoneFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 02 Mar 2015 04:47:06 PM UTC, comment #1:

By default, Wget sends only the most essential headers required for a valid HTTP request. Removing any of them could cause the request to fail. Hence, we have not provided a mechanism to remove headers from the request.

Although, if you really need it, you can use the method you've already identified and set the headers to a Null string. However, be careful as this may lead to most of your requests being dropped by the server.

Darshit Shah <darnir>
Project Administrator
Fri 20 Feb 2015 02:14:57 AM UTC, original submission:

No matter what one reads on the man page,
one finds no way to remove some headers completely.

The best one can do is make them have no value only.

$ wget --header "" URL --no-http-keep-alive --user-agent="" \
--header Accept: --header Accept-Encoding: --header Connection:

GNU Wget 1.16.1 built on linux-gnu.

jidanni

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by darnir (Posted a comment)
  • -unavailable- added by jidanni (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 02 Mar 2015 04:47:06 PM UTCdarnirStatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1