Zum Hauptinhalt springen

Set HTTP header

XML
<header status="int">
string
</header>

<header /> sets a single HTTP response header field and optionally resets the HTTP response status code.

Attention:

If the header is specified without a colon separator and value then the header will be removed.

Attributes

NameTypeDescriptionDefined By
statusintHTTP status code header

Examples

XML
<header>Content-Type: text/plain</header>