HttpHeader

Takes two parameters, name, value

Description:

The name/value pair specified will be added to the HTTP output Header. If the name specified has already been set, then it will be updated with this new value.

This command should not be used to set the Http Status, Type, or Cookies; instead use the other appropriately named Http commands for these. In addition, any auto-calculated Header values, such as ETag and Content-Length, should not ever be set with this command since the server is responsible for these items.

See also HttpHeaders$ to return all headers, and HttpHeader$ to return a specific header.

Example:

HttpHeader "Location", "/"