SimpleScript

Documentation - S.header

Use

s.header(information)

Description

Sets the server's header. This can be set many different times with differing values before the first content is loaded. It is useful for setting the content type of the page.

Example

s.header("Content-Type: application/json")