This function provides access to the HTTP request header lines.
If no input parameters are supplied then this function returns a copy of the lines vector of VSP pages. If array, field_name and mime_attribute is supplied then this function will attempt to extract the associated value, if is cannot be found then the default_value input will be returned. If attr-name is supplied then the mime attribute from the field_name will be returned.
<p>Your request follows</p>
<?vsp
declare header any;
declare ix, len integer;
declare host varchar;
header := http_request_header ();
len := length (header);
ix := 0;
while (ix < len)
{
http (aref (header, ix));
ix := ix + 1;
}
host := http_request_header(lines, 'Host', null, '*** NO HOST IN REQUEST ***')
?>