zayin wrote:
> Hi,
> 
> I was finally able to get back to the password failing when it is
> empty. (which is OK)
> 
> The lines in the source code that prevent the '' password appear to
> be: 
> 
> unit OverbyteIcsHttpSrv;
> 
> function THttpConnection.AuthDigestCheckPassword(const Password:
> String): Boolean;
> ...
> 
>    if Password = '' then begin
>        Result := FALSE;
>        Exit;
>    end;
> 
> ....
> 
> A 401 is returned.
> 
> What am I missing?

Nothing. 
These lines are there since THttpCli also requires a non-empty 
password before it starts authentication, which most likely has
to be fixed as well. IMO it is save to remove these lines.
Changing the behaviour in THttpCli is more work. 

-- 
Arno garrels
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to