docs.roxen.comBack to normal mode
DocsRoxenWebServer 6.1Web Developer ManualProtocol Tags
Copyright  2021, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<header/>

Provided by module: Tags: RXML tags

Adds an HTTP header to the page sent back to the client. For more information about HTTP headers please steer your browser to chapter 14, 'Header field definitions' in RFC 2616, available at Roxen Community.

Note!

If not both name and value attributes are present, the tag is passed on to the output HTML assuming the intention is to make the HTML5 header tag.


Attributes

name="string"

The name of the header.


value="string"

The value of the header.


mode="{add, set, auto}"(auto)

How to add the header to the response: The value "add" appends another value to the header, after any values it got already (not all response headers allow this). "set" sets the header to the given value, overriding any existing value(s). "auto" uses "add" mode for all headers which are specified to accept multiple values in RFC 2616, and "set" mode for all other headers. "auto" is the default if this attribute is left out.