Method Protocols.HTTP.Server.filename_to_type() Method filename_to_type string filename_to_type(string filename) Description Looks up the file extension in a table to return a suitable MIME type.