method

mime_type

ruby latest stable - Class: WEBrick::HTTPUtils
mime_type(filename, mime_tab)
private

Returns the mime type of filename from the list in mime_tab. If no mime type was found application/octet-stream is returned.