Datasnap.DSHTTPClient.TDSHTTP.Head

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSHTTPClient.pas
Datasnap.DSHTTPClient.hpp
Unit: Datasnap.DSHTTPClient
Parent: TDSHTTP

Delphi

procedure Head(const AURL: string);

C++

void __fastcall Head(const System::UnicodeString AURL);

Description

Sends a HEAD command request.

The AURL parameter represents the URL where the HEAD command is sent.

Exceptions

Exception Message Description

EHTTPProtocolException

<HTTP protocol version> <HTTP status code> <Reason-Phrase>

A protocol exception is raised from the server response.

See Also