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.