Gets the current response status.

Syntax

Smartsite SXML CopyCode image Copy Code
string response.status()
string response.status(string status)
string response.status(string status, boolean suppressIISCustomErrors)

Parameters

Name Data Type Description
status String The status.
suppressIISCustomErrors Boolean If set to true, IIS custom errors are suppressed.

Return Value

Data Type Description
String The HTTP status.

Expand image Example

SXML