On Wed, Apr 13, 2011 at 1:13 PM, Petr Fejfar <petr.fej...@seznam.cz> wrote: > If you are looking for headers only, what to use HEAD method > instead of GET one?
Well, originally I just wanted the headers, but now want everything =) There is something wrong with this particular server, and I am trying to find out what exactly. In my desktop is gives proper content to Firefox with it's default user Agent but not to Firefox with Opera's user agent. So I wanted to see what would happen with a program which uses Opera's user agent, but here even if I remove the line that changes the user agent I get no HTML document =o >> memoHeaders.Lines.LoadFromStream(Client.Document); >> memoHeaders.Text := Client.Headers.Text + LineEnding + memoHeaders.Text; > > The first command is odd: Document represents a message body > and the second command overwrites memo content on the top of that I want to show first the headers and then the document, with as few as possible lines of code. This command works fine. -- Felipe Monteiro de Carvalho ------------------------------------------------------------------------------ Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo _______________________________________________ synalist-public mailing list synalist-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synalist-public