Ns_ConnReplaceHeaders

Name

Ns_ConnReplaceHeaders -- Replace output headers for connection

Syntax

void Ns_ConnReplaceHeaders (Ns_Conn *conn, Ns_Set *newheaders);

Description

The Ns_ConnReplaceHeaders function sets the current output headers for the connection to the newheaders set. It copies the newheaders set and frees memory associated with the old output headers in the connection.