http://onionworks.net/2004/renderengine/web

responseHeaders ([expires : int], [last-modified : datetime], [status-code : int], [status-description : string], [dispositionType : string], [filename : string]) : void

Header information can be sent to the user with the method “responseHeaders”.

expires:
With “expires” it can be communicated to the browser after how many minutes the page expires. This means that if the user calls the page again within this time, the buffered page is displayed. Only once this time has passed is the page retrieved again by the browser.

last-modified:
With the parameter it is specified when the page was last changed.

status-code:
The status code, also known as the server response code, indicates the status of a resource. If a file has been found and delivered, then the code is 200. If the file is not found, then 404 is returned. A list of all codes can be consulted on the Internet.

status-description:
The status-description is normally sent with the status code. A short description of the status code is then in the description. For example, an OK is sent for the code 200 and Not Found for 404.

dispositionType:
The parameter is set if a file is to be sent with the header. “dispositionType”indicates how the file is to be treated. This means the file can be opened in the browser or a download window offered.

filename:
For “filename”, a file is specified which is to be sent with the header.

<web:responseHeaders expires="60" status-code="301" status-description="The site is available under a other URL." />

In the example, the status code 301 is sent. It is defined for this code that the called page can no longer be found at this address. In addition, the default description (moved permanently) has been replaced by an individual text.