|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
    int Ns_ConnReturnStatus(
    Ns_Conn *conn,
    int status
    );
The Ns_ConnReturnStatus function calls Ns_ConnSetRequiredHeaders with the given status and reason and then immediately calls Ns_ConnFlushHeaders. It can be used when only the status of the request must be returned to the client.
The status is a standard error code such as 403 for access denied or 200 for OK. Returns NS_OK or NS_ERROR.