Re: [twsocket] THttpCli digest and basic authentication

2009-01-20 Thread Maurizio Lotauro
Scrive Arno Garrels : > Maurizio Lotauro wrote: > > Scrive Arno Garrels : > > > >> Maurizio Lotauro wrote: [...] > > But if you have time give a look in the code, particularly to > > HttpAuthNTLM to get an idea how implement the Digest authentication > > class. > > Already done last week. How

Re: [twsocket] OverbyteIcsMimeUtils.pas - DoFileEncBase64 problemdetecting end of stream

2009-01-20 Thread Francois Piette
> So, do we have to find a fix or is such an additional blank line > in Base64 MIME parts acceptable? IMO it is acceptable. -- francois.pie...@overbyte.be Author of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Me

Re: [twsocket] HttpServer FPostedStream

2009-01-20 Thread Arno Garrels
Paul wrote: >> I'm not aware of a ClientCnx.FPostedStream, looks like your own >> derived class, isn't it? > > Sorry, forgot to add. > Yes, it is part of a THttpConnection class > It's the stream sent by a client that I want to store directly in an > object. But I think I''m facing problems trying

[twsocket] OverbyteIcsMimeUtils.pas - DoFileEncBase64 problem detecting end of stream

2009-01-20 Thread Arno Garrels
Hi, When encoded data size is divisible by 72 (line length) DoFileEncBase64() returns More = TRUE upon the last data chunk even though there are no more bytes left in the stream. It is because More is just calculated by "More := (ByteCount = 3);". In those cases an additional blank line may be