AddHttpResponseHeader - cWebApp
Sets a specific response header
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sHeaderName | String | The name of the header |
| sHeaderValue | String | The value of the header |
Syntax
Procedure AddHttpResponseHeader String sHeaderName String sHeaderValue
Call Example
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.