Skip to main content

Set HTTP header

Anatomy

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

Description: HEADER sets a single HTTP response header field and optionally resets the HTTP response status code.

Attention:

All header fields must be sent before any actual output is sent.

Attributes

NameTypeDescriptionDefined By
statusintHTTP status code header

Examples

Example

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