restReqHeaderGet (Function) |
Top Previous Next |
This function will read a header field from a request.
Input: req : SYSHANDLE A handle to the request.
name : STRING The name of the header field to read. Common fields include "Content-Type", "Accept" and "User-Agent".
check_case : BOOL (Default FALSE) If set to TRUE, the name will use case sensitive comparison. If left at FALSE, the name will use case insensitive comparison. Note that if the same name is present with different case, only the value for the first matching name will be returned.
Output: value : STRING The value of the field. If a value is specified multiple times, all the values will be provided, separated by commas.
Returns: INT
Declaration: FUNCTION restReqHeaderGet : INT;
Example: INCLUDE rtcu.inc
|