Spyder
unread,Nov 7, 2009, 2:30:38 PM11/7/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Curb - Ruby libcurl Bindings
I was looking into Curb to replace my current rbCurl implementation
I've been using. However I couldn't find a way to make a HEAD
request. It looks like it might be unimplemented based on the
documentation.
In rbCurl I set the c.nobody=true to make this work and in PHP to make
this happen I would use curl_setopt($ch, CURLOPT_NOBODY, true);
I saw what looked like the intended implementation of this in Curb
(easy.http_head => true) but its labeled "TODO
Not yet implemented" and was just wondering if I was looking at the
right thing.
The feature is great for being able to just request the header and
check the Last-Modified or Etag without downloading the whole page.
Cheers,
Dallas