[twsocket] Digest authentication via THttpCli?

2012-01-05 Thread Paul Read
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

Re: [twsocket] Digest authentication via THttpCli?

2012-01-06 Thread Paul Read
= 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

Re: [twsocket] Digest authentication via THttpCli?

2012-01-06 Thread Paul Read
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

Re: [twsocket] Digest authentication via THttpCli?

2012-01-06 Thread Paul Read
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

Re: [twsocket] Digest authentication via THttpCli?

2012-01-07 Thread Paul Read
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

Re: [twsocket] Digest authentication via THttpCli?

2012-01-09 Thread Paul Read
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

Re: [twsocket] Should next ICS version support anything before Delphi XE ?

2012-03-28 Thread Paul Read
/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