# File lib/facets/more/http.rb, line 535 def mime_type(path) case path when /.(htm|html)$/ 'text/html' when /.doc$/ 'application/msword' else 'text/plain' end end