[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] Showing body of error response
From: |
Samuli Kärkkäinen |
Subject: |
[Bug-wget] Showing body of error response |
Date: |
Fri, 10 Jul 2009 15:41:55 +0300 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090605) |
I'm debugging a web service that is returning a HTTP response with error
code 500. It must be accessed using HTTPS through a proxy, so wget is
pretty much the only place where the response can be shown in plaintext.
As far as I can tell, wget 1.11.4 can't be made to show the body of a
response with status code 500. This prevents me to from seeing the
actual error message.
I suggest adding an option named say --show-body-always, that does what
it says.
I worked around the lack of that feature by commenting out the if block
"if (!(*dt & RETROKF) || head_only) { ... }" starting from line 2220 of
http.c
--
Samuli Kärkkäinen <address@hidden>
+358-505419274
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-wget] Showing body of error response,
Samuli Kärkkäinen <=