ListMIMEHeaders Context [ListMIMEHeaders params]MIME Header Tags[/ListMIMEHeaders]
Lists all the MIME header names and values sent from the remote browser.

To display a list of all the MIME headers available, put a [ListMIMEHeaders] context into a template.

Example (normally you would put the following text into a .tpl file on your server and use a web browser to link to it):

The following are all the MIME headers available to this page:<br>
[ListMIMEHeaders]
[index],[name],[value]<br>
[/ListMIMEHeaders]

The [ListMIMEHeaders] context has optional parameters that are placed within the beginning tag in order to modify the list of MIME headers produced. The exact spelling of the MIME headers changes from web server to web server, so you may have to experiment with them. For instance, Accept_Language on Macintosh web servers may be HTTP_ACCEPT_LANGUAGE on Windows web servers.

Example:

Your web browser preferences show that your native language is:<br>
[ListMIMEHeaders name=HTTP_ACCEPT_LANGUAGE]
[value]
[/ListMIMEHeaders]

Example:

The following are the values of all the MIME headers whose name begins with "HTTP_ACCEPT":<br>
[ListMIMEHeaders name=HTTP_ACCEPT&exact=F]
[index],[value]<br>
[/ListMIMEHeaders]

The following parameters are optional to the [ListMIMEHeaders] context:
Parameter Description
Name
The name of the MIME header to list.
 Exact
T(rue) or F(alse) whether to exactly match the name of the parameter or match any name that contains the "name" value. (Default value is true.)

The following tags are available inside a [ListMIMEHeaders] context:
Tag Description
 [Name]
The name of the MIME header.
 [Value]
The value associated with the MIME header.
[Index]
A number from 1 to the total number of MIME headers, indicating this header's index position in the list.

User Contributed Notes
ListMIMEHeadersContext  

Copyright © 2008 WebDNA Software Corporation, Inc.