Skip to content

libcURL.cURLClient.Head

Andrew Lambert edited this page Mar 15, 2017 · 13 revisions

#libcURL.cURLClient.Head

Method Signatures

 Function Head(URL As String) As Boolean
 Sub Head(URL As String)

Parameters

Name Type Comment
URL String The RFC 3986 URI to get headers for.

Return value

The synchronous version of this method returns True on success..

Remarks

Performs a header-only operation using protocol-appropriate semantics (http HEAD, etc.) Once the transfer completes, you may access the headers by calling cURLClient.GetResponseHeaders.

If the URL parameter is empty ("") then the URL option is not modified (i.e. the previous URL is reused; if there is no previous URL then the transfer will fail with error code CURLE_URL_MALFORMAT(3).)

#See also

Clone this wiki locally