Unit 'fpHTTPClient' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPCustomHTTPClient.Head

Performs an HTTP HEAD request

Declaration

Source position: fphttpclient.pp line 347

public class procedure TFPCustomHTTPClient.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

Get

  

Performs an HTTP GET request


Documentation generated on: Jan 27 2026