The HTTP header contains variables whose values describe the Web Server environment and can specify credentials coming from the Web Server or a third-party single sign-on product. The Reporting Server can use the GETHEADR function to retrieve the value of an HTTP Header variable from an HTTP header passed to it by the client.
Is the name of the HTTP header variable whose value is being retrieved.
Is the name of the field that contains the result, or the format of the output value enclosed in single quotation marks.
The following is a sample HTTP header:
The following function call retrieves the value application/x-www-form-urlencoded from the HTTP Header:
The following function call retrieves the value en-us from the HTTP Header: