The OpenD Programming Language

Cgi.setResponseLocation

Sets the location header, which the browser will redirect the user to automatically. Note setResponseLocation() must be called *before* you write() any data to the output. The optional important argument is used if it's a default suggestion rather than something to insist upon.

class Cgi
void
setResponseLocation
(
string uri
,
bool important = true
,
string status = null
)

Meta