RHTTP_GET_HEADER Function

Returns the value of a specified header field from either an initialised HTTP request, or a retrieved HTTP response header.

Syntax

RHTTP_GET_HEADER([request | reply-header], header-field)

Syntax Elements

request

An initialised HTTP request (see RHTTP_INIT_REQUEST).

reply-header

A retrieved HTTP reply header (see RHTTP_GET_REPLY_HEADER).

header-field

Any valid HTTP header field name (e.g. "Accept", "Host", "Content-Type", etc).