RHTTP_SET_HEADER Function

Updates an HTTP request with a new or changed header name/value pair. This is a void function.

Syntax

RHTTP_SET_HEADER(request, header-field, header-value)

Syntax Elements

header-field

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

header-value

Any acceptable value for the specified header.