bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Patch: new option --content-on-error: do not skip content


From: Henrik Holst
Subject: Re: [Bug-wget] Patch: new option --content-on-error: do not skip content on http server error
Date: Tue, 4 Oct 2011 15:43:22 +0200

No problem, I'll give it a try, yell at me if I do something wrong:

/HH

--- wget-1.13_orig/doc/ChangeLog    2011-10-02 00:59:06.769926929 +0200
+++ wget-1.13/doc/ChangeLog    2011-10-04 15:40:22.539047579 +0200
@@ -1,3 +1,9 @@
+2011-10-02  Henrik Holst <address@hidden>
+
+    * wget.info (HTTP Options): Document option --content-on-error
+
+    * wget.texi: (HTTP Options): Document option --content-on-error
+
 2011-08-06  Giuseppe Scrivano  <address@hidden>

     * wget.texi (Wgetrc Commands): Document show_all_dns_entries.
--- wget-1.13_orig/src/ChangeLog    2011-10-02 00:59:05.989926929 +0200
+++ wget-1.13/src/ChangeLog    2011-10-04 15:35:02.399047712 +0200
@@ -1,3 +1,14 @@
+2011-10-02  Henrik Holst <address@hidden>
+    * http.c (gethttp): If 'contentonerror' is used then do not
+        skip the http body on 4xx and 5xx errors.
+
+    * init.c (commands): Add 'contentonerror'.
+
+    * main.c (print_help, option_data): Add new option 'contentonerror'
+        to make wget not skip the http content on 4xx and 5xx errors.
+
+    * options.h: New variable 'content_on_error'.
+
 2011-08-06  Jochen Roderburg <address@hidden>

     * host.c (lookup_host): Ensure it doesn't print more IPs than available




2011/10/4 Giuseppe Scrivano <address@hidden>

> Hi Henrik,
>
> Henrik Holst <address@hidden> writes:
>
> > This patch adds an option to not skip the content sent by the HTTP server
> > when the server responds with a status code in the 4xx and 5xx range.
>
> thanks for the patch, I am quite inclined to include it.  Can you please
> provide the ChangeLog file entry?
>
> Thanks!
> Giuseppe
>

Attachment: changelog.patch
Description: Text Data


reply via email to

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