determining 404

Dave Cragg dcragg at lacscentre.co.uk
Tue Apr 27 03:06:53 EDT 2004


At 2:49 pm -0700 26/4/04, Frank Leahy wrote:

>Dave,
>
>It might be useful to add a libUrlGetResponseHeaders(<url>) function
>so that one can get the headers regardless of whether an error
>occurred.
>There are definitely times when it's useful to see the response
>headers on successful requests (e.g. get server date/time, etc.)
>
>-- Frank

Frank

libUrlLastRHHeaders() will return the full response headers for the 
most recent http request including succesful requests. (RH stands for 
Remote Host) I was just pointing out that it wasn't necessary to use 
this just to get the response code.

Cheers
Dave


More information about the use-livecode mailing list