Closed andrewdavidmackenzie closed 3 years ago
As per the libcurl documentation, the option you are looking for is called CURLOPT_NOBODY
, which corresponds to Easy::nobody
and Easy2::nobody
in the bindings.
Thanks very much - I wasn't familiar with that.
I was interested in using curl-rust to do a HEAD request instead of GET, just to check that a resource exists but avoid retrieving the body.
I don't think that's possible now?
Would it be something interesting to add?