The server I am trying to connect to, via my C++Builder 2007 application
using ICS, requires Digest Authentication.
To use THttpCli do I simply set the Username and Password properties,
set the ServerAuth property to httpAuthDigest and then call SendStream?
Many thanks
Paul
--
To unsubscribe
= http://192.168.1.155/push;;
RcvdStream = NULL;
SendStream = DataOut;
And then call THttpCli-Post();
What more should I be doing?
Many thanks
Paul
On 05/01/2012 22:42, Paul Read wrote:
The server I am trying to connect to, via my C++Builder 2007
application using ICS, requires
What ICS version do you use? THttpCli got some fixes recently related to
authentication AFAIR. Try latest ICSv7 from here:
http://wiki.overbyte.be/wiki/index.php/ICS_Download
I was using version 708 using the latest (721) I now at least get the response
to the 401 being sent back :-)
But
Stepping through ICS source I can see AuthDigestCalcResponse is called
and the MD5 response is calculated. I note Qop is empty.
What aspects of THttpCli can effect the calculated digest response?
Paul
On 06/01/2012 22:27, Paul Read wrote:
What ICS version do you use? THttpCli got some
Authorization failed.
/body/html
Many thanks for your suggestions and help so far
Paul
On 07/01/2012 08:25, Arno Garrels wrote:
Paul Read wrote:
I was using version 708 using the latest (721) I now at least get the
response to the 401 being sent back :-)
But still the request is rejected
on Digest implementation differences:
http://www.fngtps.com/2006/09/http-authentication
Likely we have to add an additional option DigestAuthIEStyle.
--
*Paul Read*
Partner and Senior Engineer
nSolve Ltd http://www.nsolve.com/?empr
Tel: +44 (0)845 8626777
Tel: +44 (0)1993 402011
Tel (US): +1 617
/twsocket
Visit our website at http://www.overbyte.be
--
Regards
Paul Read
nSolve Ltd
33-35 Daws Lane
London, NW7 4SD
England
Tel: +44 (0) 1993 402011
Tel: +1 617 273 2304
http://www.nsolve.com
Find us on Facebook! http://www.facebook.com/nSolve
--
To unsubscribe or change your settings