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