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