Page 1 of 1

the simplest way to read httpheaders

Posted: Wed May 27, 2015 4:45 pm
by Thierry
Hi all,

To set some specifics httpHeaders,
we go this way:

Code: Select all

   set the httpHeaders to field  "Httpheaders"
   get URL myURL
But how to get the httpHeaders from the page sent by the server?

Is there a simple way or do I have to go with "open socket ..." ?

Thanks,

Thierry

Re: the simplest way to read httpheaders

Posted: Wed May 27, 2015 5:34 pm
by SparkOut
LibUrlLastRHHeaders is the function you need.

Re: the simplest way to read httpheaders

Posted: Wed May 27, 2015 6:02 pm
by Thierry
SparkOut wrote:LibUrlLastRHHeaders is the function you need.
Thanks SparkOut.

It works perfectly :)

Regards,

Thierry

Re: the simplest way to read httpheaders

Posted: Wed May 27, 2015 6:05 pm
by SparkOut
Glad to help Thierry, it hardly counts as paying back even just a little that I owe you