ns_headers(3) commands


ns_headers connId status ?type length?


This command immediately pushes the required HTTP headers back to the client. It is for backwords compatability only. The connId argument is made available through the ns_register_proc function. The status is the HTTP response code to return to the client. The type refers to the Content-Type header, and defaults to 'text/html'. The length argument refers to the Content-Length header.