Neokernel API

WebServer.getMimeType Method

Determines what the mime type is based off the path, returns mime type as a String in the HTTP response header.

public static string getMimeType(
   string path
);

See Also

WebServer Class | com.neokernel.httpd Namespace