AddHttpResponseHeader - cWebHttpHandler

Sets a specific response header

Type: Procedure

Parameters: String sHeaderName String sHeaderValue

ParameterDescription
sHeaderNameThe name of the header
sHeaderValueThe value of the header


Syntax
Procedure AddHttpResponseHeader String sHeaderName String sHeaderValue

Call: Send AddHttpResponseHeader sHeaderName sHeaderValue


Description

Sets a specific response header.

Note that this procedure should be called before any data is written to the response body (OutputString / OutputUChar) because IIS might have started to send data to the client already.