[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_ConnSetRequiredHeaders

Overview

Return the required HTTP headers

Syntax

    void Ns_ConnSetRequiredHeaders(
    	Ns_Conn			*conn,
    	char 			*contentType,
    	int			contentLength
    );

Description

The Ns_ConnSetRequiredHeaders function writes the required headers of the HTTP response. If contentType is NULL, it defaults to 'text/html'. If contentLength is 0, no contentLength header will be written out.

The Ns_ConnReturnStatus function can be used to return a status-only response to the client.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.