Hi Sven, Always an empty line... this is a very good information. ;)
Hm..., a reply from the synapse list: (...) 2011/1/17 Lukas Gebauer <gebylist@...> Just courious - where you are reading THttpSend.Document with readed binary datas? And why you are saving to your stream values from OnMonitor event? This event is designed for monitoring socket traffic, not for reading datas. -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution (....) If not OnMonitor, what I use? x( 2011/1/17 Sven Barth <pascaldra...@googlemail.com> > > HTTP headers *always* end after an empty line. So you could scan for two > newlines after each other (I don't know whether you must only look for > LineFeed or CarriageReturn or both). > > Regards, > Sven > -- *Silvio Clécio* *Cel.* (15) 9122-7768 *Blog.* blog.silvioprog.com.br *Twitter.* twitter.com/silvioprog
-- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus