Re: [twsocket] HttpServer and password...

2011-06-15 Thread zayin
Hi, > I just checked in a change that removes these lines, so THttpServer... I commented out the lines, here, and it works. Thanks. Ciao, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] HttpServer and password...

2011-06-15 Thread Arno Garrels
zayin wrote: > Hi, > > I was finally able to get back to the password failing when it is > empty. (which is OK) > > The lines in the source code that prevent the '' password appear to > be: > > unit OverbyteIcsHttpSrv; > > function THttpConnection.AuthDigestCheckPassword(const Password: > Stri

Re: [twsocket] HttpServer and password...

2011-06-15 Thread Francois PIETTE
Empty password should be usable indeed. -- francois.pie...@overbyte.be http://www.overbyte.be - Original Message - From: "Arno Garrels" To: "ICS support mailing" Sent: Wednesday, June 15, 2011 6:56 PM Subject: Re: [twsocket] HttpServer and password... Franc

Re: [twsocket] HttpServer and password...

2011-06-15 Thread Arno Garrels
Francois PIETTE wrote: >> A 401 is returned. >> >> What am I missing? > > As I told you in my previous message, you missed that password > (passed as var to the event handler) is initialized to #0 which is > NOT an empty string. I also do not understand why that has something to do with the fac

Re: [twsocket] HttpServer and password...

2011-06-15 Thread zayin
Hello, >As I told you in my previous message, you missed that password (passed as > var to the event handler) is initialized to #0 which is NOT an empty string. No, I am using what I said: Password:=''; And you said "This is the proper way." Mark -- To unsubscribe or change your settings

Re: [twsocket] HttpServer and password...

2011-06-15 Thread Francois PIETTE
I was finally able to get back to the password failing when it is empty. (which is OK) The lines in the source code that prevent the '' password appear to be: unit OverbyteIcsHttpSrv; function THttpConnection.AuthDigestCheckPassword(const Password: String): Boolean; ... if Password = '' the

Re: [twsocket] HttpServer and password...

2011-06-15 Thread Arno Garrels
zayin wrote: > Hi, > > I was finally able to get back to the password failing when it is > empty. (which is OK) > > The lines in the source code that prevent the '' password appear to > be: > > unit OverbyteIcsHttpSrv; > > function THttpConnection.AuthDigestCheckPassword(const Password: > Stri

Re: [twsocket] HttpServer and password...

2011-06-15 Thread zayin
Hi, I was finally able to get back to the password failing when it is empty. (which is OK) The lines in the source code that prevent the '' password appear to be: unit OverbyteIcsHttpSrv; function THttpConnection.AuthDigestCheckPassword(const Password: String): Boolean; ... if Password = '

Re: [twsocket] HttpServer and password...

2011-06-05 Thread Francois PIETTE
The password field is blank in OnAuthGetPassword. I do not change the 'Password'. It is #0. You should probably change Password to the empty string. #0 is /not/ the empty string. This has been designed so that you can use an empty password which is different than not changing Password var param

Re: [twsocket] HttpServer and password...

2011-06-05 Thread zayin
Hello, >> The password field is blank in OnAuthGetPassword. I do not change the >> 'Password'. It is #0. >You should probably change Password to the empty string. #0 is /not/ the >empty string. This has been designed so that you can use an empty password >which is different than not changing Pa

Re: [twsocket] HttpServer and password...

2011-06-05 Thread Francois PIETTE
The password field is blank in OnAuthGetPassword. I do not change the 'Password'. It is #0. You should probably change Password to the empty string. #0 is /not/ the empty string. This has been designed so that you can use an empty password which is different than not changing Password var para