Top

Name

http_header_get — returns header of current HTTP request

Synopsis

varchar http_header_get ( );
 

Description

Returns the response header associated with the current HTTP request. This will not return the default header lines, only those explicitly set with http_header.

This is useful for incrementally modifying response headers during processing of a URL.

Return Types

Varchar of the current headers

Examples

Example 24.165. Retrieving the current header

<?vsp
http_header (concat (http_header_get (), 'Location: default.html'));
?>