bugGNU Wget - Bugs: bug #52633, customizable list of HTTP status...


bug #52633: customizable list of HTTP status codes for which to save server response

Submitted by:  None
Submitted on:  Sun 10 Dec 2017 03:46:32 PM UTC  
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: ‘Can-ned Food’Originator Email: -unavailable-
Open/Closed: OpenRelease: 1.16
Operating System: GNU/LinuxReproducibility: None
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: No

Add a New Comment(Rich Markup)

You are not logged in

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


Thu 14 Dec 2017 03:52:33 AM UTC, comment #1:

In principle, the meaning of the body of an HTTP response should be determined by the first digit of the three-digit response code. See section 6 of RFC 7231 for details. Skimming it, it seems to me that all response codes can be accompanied by a body, and if the response code doesn't induce wget to take some action to make another request to get the "proper" body for the request, the body in the response should be saved so the user can examine it.

On the other hand, reality might not conform to the rules of RFC 7231.

Can you flesh ou this request with some use cases that show that wget's behavior needs to be customizable in this regard?

Dale Worley <worley>
Sun 10 Dec 2017 03:46:32 PM UTC, original submission:

Rather than have a fixed list of HTTP status codes for which to save to file the message delivered from the server, and rather than toggling an override by content_on_error which causes server responses to be saved to file for all codes: Wget should attempt to reference a customizable list, defined by the user, which includes all HTTP status codes for which it shall save the server response to destined output file.
Having a single list and allowing notation to designate ranges of acceptable status codes seems easier than having two lists, one which permits and one which prohibits.



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

Attach File(s):

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 worley (Posted a comment)
  • -unavailable- added by None (Submitted the item)

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



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1