Scrive Angus Robertson - Magenta Systems Ltd <[EMAIL PROTECTED]>: > > Do you mean latest release, ICS beta or ICS-SSL? > > They are all the same code. Unfortunately none of the recent developers > have added dates to the code which means version control is very > painful, but httpprot.pas was dated 19th November, so recent.
Ok, it is the one included in the ICS-SSL V5a, the most recent. > It include a large number of undocumented NTLM changes that you must > have done, but which were missing from your 28th August version. > But at least everything is now consolidated. These changes are included only recently, and was part of a separare beta of HttpCli. They solves a problem that can occur when both proxy and host need an authentication and the proxy want NTLM. To solve it I changed all the logic how the authentication is handled. I decided to don't keep commented all old code because the source will be really unreadable. > > >I suspect that the encoding header should not be sent with the HEAD > > >request, I'll try and change the code tomorrow. > > Maybe yes, but status 0 is a strange result. Tell us the results of > > your change. Eventually I'll look into it next weekend. Is is strange to me how the presence of an unnecessary header can cause this behaviour. I'll check. > I did make the change earlier, skipping HEAD, and HEAD now works again, > as does GET with compression. But I need to do some more testing, > particularly with 100 meg text files. > > It all falls over horribly if the DLL is missing, but I no intention of > ever releasing anything with a DLL, so that can be someone's support > problem, life is too short for DLL hell. I'll try something more > reliable tomorrow. It is not necessary that you use the dll version. You can try it to verify that the logic behind the encoding handling works. Then you can implement your class using the HttpCCodGzip as example and reading the HttpContCod header for brief explanation. That way you can use the library that you said have already used in your component, and use it instead the one that use the dll simply including the unit with your class instead the HttpCCodGzip. Tell me if you need a clarification how to do it. > One of your comments in the source was: > > > A future enhancement could be a new option to always send basic > > authentication. > > I can not see any comment saying this was done, do you recall if it > was. It would be useful to me, one of my applications talks to an APC > Masterswitch posting commands with basic authentication, and it's done > twice at the moment. It is there but atm it is hidden because still experimental. It was introduced with tha authentication fix. There are two variables, FServerAuth and FProxyAuth (the respective properties for the moment are commented). You can try to use they but keep in mind that it is not decided yet if they should be an enumerated or string type, so the type can change in the future. Bye, Maurizio. ---------------------------------------------------- This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be