C API Reference -- Ns_ConnSetTypeHeader

### Ns_ConnSetTypeHeader

#### Overview

Return a Content-Type header

#### Syntax

        void Ns_ConnSetTypeHeader(
        Ns_Conn *conn,
        char *type
        );

#### Description

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.

Top of Page
Copyright © 1998-99 America Online, Inc.