|   | ![[ Previous ]](navbprev.gif)  ![[ Contents ]](navbhome.gif)  ![[ Index ]](navbhelp.gif)  ![[ Next ]](navbnext.gif)  | 
    void Ns_ConnSetTypeHeader(
    Ns_Conn *conn,
    char *type
    );
The Ns_ConnSetTypeHeader function formats and sends a Content-Type header for the given type. You can use the Ns_GuessMimeType() function to look up a Content-Type string for filename.