URL:
<http://savannah.gnu.org/bugs/?41003>
Summary: wget tries to reuse connection despite http/1.0 and
no connection: keep-alive
Project: GNU Wget
Submitted by: nok
Submitted on: Do 26 Dez 2013 12:41:40 CET
Category: Protocol Issue
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk
Operating System: GNU/Linux
Reproducibility: None
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: None
_______________________________________________________
Details:
Hello,
a forwarded Debian bug report from http://bugs.debian.org/701032
--8<--
* What led up to the situation?
i built a simple webserver with pythons BaseHTTPServer, which
requires a basic http auth. the server answers in http 1.0 and
sends no Connection: keep-alive header.
Now i tried to test it with wget, which sent at first (even though
i gave it user and password) no auth-string, probably to test which
auth-scheme is used.
the server sent a 401 with the WWW-Authenticate: Basic header, and NOW
wget tried to reuse the connection, which is already closed, and
should not have been reused, because there was no Content-length
header, there was no Keep-alive header AND it was http 1.0, but it
did, and the request failed. even though the server didn't do
anything wrong.
* What outcome did you expect instead?
i expected one connection per request which would have worked. i
didn't expect to read 'reusing existing connection' if there was
known to be no keep-alive
--8<--
I requested a --debug output but didn't get an answer.
Thank you.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41003>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]