On 03/01/12 15:01, rihad wrote:
Hi, all. After upgrading the FreeBSD port 1.12_4 to 1.13.4_1 this command no longer works:

$ wget -O- --http-user=user --http-password=password http://example.com/file.php

Why is it failing? wget 1.12 never failed, and instead gave this:

HTTP request sent, awaiting response...

and got the response.
It is expected that wget performs two queries, the first one receives the 401,
and only then are username and password sent. You can force to send them
in the first request with --auth-no-challenge (as was done by wget <= 1.10.2)

The problem here seems to be that the server is failing to answer the second request.
Server problem? Some kind of throttling?
I don't know why 1.12 to 1.13 would have made a different, either.


Reply via email to