TFPCustomHTTPClient.Head procedure
Performs an HTTP HEAD request
Declaration
class procedure Head(const AURL: string; Headers: TStrings)Arguments
AURL | The URL to send the HEAD request to |
Headers | Variable to store the response headers |
Description
Performs an HTTP HEAD request to retrieve only the headers for a resource without the body content. Useful for checking resource metadata, existence, or modification dates.
Errors
May raise HTTP-related exceptions on connection errors or invalid responses.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
