AddHttpResponseHeader - cWebHttpHandler

Sets a specific response header

Type: Procedure

Parameters: String sHeaderName String sHeaderValue

sHeaderNameThe name of the header
sHeaderValueThe value of the header

Procedure AddHttpResponseHeader String sHeaderName String sHeaderValue

Call: Send AddHttpResponseHeader sHeaderName sHeaderValue


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.