Still struggling to post data via THttpCli using Digest Authentication.
Looking via Wireshark I can see that THttpCli did not response to the
"401 Unauthorized" sent by the server, so the data I want to send does
not get through (whilst if I use cURL it works fine).
I have configured THttpCli like this:
Username = 'bob'
Password = '1234'
ContentTypePost = 'application/x-com-polycom-spipx'
RequestVer = '1.1'
FollowRelocation = True
ServerAuth = httpAuthDigest
SocksAuthentication = socksNoAuthentication
ProxyAuth = httpAuthNone
Options = []
URL = "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 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 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
--
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