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 <[email protected]>
+
+    * wget.info (HTTP Options): Document option --content-on-error
+
+    * wget.texi: (HTTP Options): Document option --content-on-error
+
 2011-08-06  Giuseppe Scrivano  <[email protected]>

     * 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 <[email protected]>
+    * 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 <[email protected]>

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




2011/10/4 Giuseppe Scrivano <[email protected]>

> Hi Henrik,
>
> Henrik Holst <[email protected]> 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
>
--- 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 <[email protected]>
+
+	* wget.info (HTTP Options): Document option --content-on-error
+
+	* wget.texi: (HTTP Options): Document option --content-on-error
+
 2011-08-06  Giuseppe Scrivano  <[email protected]>
 
 	* 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 <[email protected]>
+	* 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 <[email protected]>
 
 	* host.c (lookup_host): Ensure it doesn't print more IPs than available

Reply via email to