Maurizio, >> Something like that is required, also because current authentication >> code in the THttpCli is a complicated nightmare, error-prone and >> contains plenty of duplicated code. > > I know it very well :-) > I already post in the past my propose of changes, but probably it was > not the right moment because I got no feedback.
Well done! I think I can merge your code with ICS v7 next week and add digest authentication. The demo should then be extended to show how to preemptively send Authorization headers. In order get this working with digest wee need the realm, nonce and opaque values from the challenge as well as HTTP method, the digest URI and a nonce count value which has to be incremented on each request actually received by the server. -- Arno -- 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