Extracted from Pike v7.8 release 866 at 2016-09-30.
pike.ida.liu.se
[Top]
Protocols
Protocols.HTTP
Protocols.HTTP.Server

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.