Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

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.