Skip to content

HttpHead - cHttpClient

Include: Use System\Http.pkg

Sends a HEAD request and returns status/headers without a response body.

Type: Function

Return data type: HttpStatus, which is an alias for UShort

Parameters

Parameter Type Description
sPath String Relative path or absolute URL.

Syntax

Function HttpHead String sPath Returns HttpStatus

Call

Get HttpHead of hoObj "/resource" to eStatus

Description

Sends HEAD. It has no request body and callers should not expect a response body; use the returned status and response headers.