ns_headers

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
KEYWORDS

______________________________________________________________________________

NAME

ns_headers − commands

SYNOPSIS

ns_headers connId status ?type length? _________________________________________________________________

DESCRIPTION

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.

SEE ALSO

nsd(1), info(n)

KEYWORDS