Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

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.