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

Ns_ServerGetMimeType

Overview

Get the Mime type for a filename

Syntax

    char *Ns_ServerGetMimeType(
    	char *hServer,
    	char *file
    );

Description

The Ns_ServerGetMimeType function returns the MIME type for a file. If the file has no extension, the "no extension" MIME type for the specified virtual server is returned. (See the Ns_ServerSetNoExtensionMimeType function, below.) If the file is NULL, the default MIME type for the virtual server is returned.

Top of Page

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