Rev cannot open my jpeg ! - and some serious thinking

Mark Smith lists at futilism.com
Wed Jul 1 05:50:32 EDT 2009


In fact, I'd recommend the curl method, as it seems like the libUrl  
method doesn't seem to get all the headers, anyway.

For this url: "http://marksmith.on-rev.com/msbass/instruments.html"
the liburl method got:

HTTP/1.1 200 OK
Date: Wed, 01 Jul 2009 09:46:17 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5  
mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Connection: close
Content-Type: text/html;charset=ISO-8859-1

whereas the curl method got:

HTTP/1.1 200 OK
Date: Wed, 01 Jul 2009 09:49:05 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5  
mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Last-Modified: Fri, 17 Apr 2009 14:22:33 GMT
ETag: "c0c0087-2150-e956bc40"
Accept-Ranges: bytes
Content-Length: 8528
Content-Type: text/html

Dave (Cragg) - is there a better way to do a HEAD request using libUrl?

Best,

Mark


On 1 Jul 2009, at 10:42, Mark Smith wrote:

> Sometimes this seems to take quite a few seconds, and I don't know  
> why (I think libUrl doesn't like non-GET/POST requests), but if you  
> have curl available,




More information about the use-livecode mailing list