setStatus

Top  Previous  Next

Sets the HTTP response status. Default is code 200, "OK"

Definition

setStatus( code, codeString )

 

Example

setStatus( 404, "Not Found!" )

 

Alternative name

webserver:SetStatus( code, codeString )

 

Provided for Girder 5 compatibility.

Availability

Lua context during page load.