Home » Posts tagged "cURL"

htbaapub.rest version 1.06

I’ve released a new version of htbaapub.rest which contains a fix that normally makes libcurl generate an error.

When doing a HEAD request the server is supposed to return the same headers as when a GET request is being done. This also includes the Content-Length header. cURL however complains that the reported Content-Length couldn’t be read and generates a CURLE_PARTIAL_FILE (18) error.

Htbaapub.rest would simply throw an exception when cURL generated an error. Now this specific case is being ignored. So all HEAD requests which generate the CURLE_PARTIAL_FILE (18) error will succeed, as it’s supposed to.

This was fixed in version 1.05 but shortly after that I released 1.06 which includes the latest OpenSSL DLL’s (version