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