module
Ruby on Rails latest stable (v7.1.3.2)
-
1 note
Constants
ALL = AllType.instance
LOOKUP = {}
EXTENSION_LOOKUP = {}
SET = Mimes.new
Attributes
Register or
log in
to add new notes.
rubymaverick -
June 26, 2008
9 thanks
Default Mime Types
This module sets up all the default mime-types. Here they are:
"*/*" => :all "text/plain" => :text "text/html" => :html "application/xhtml+xml" => :html "text/javascript" => :js "application/javascript" => :js "application/x-javascript" => :js "text/calendar" => :ics "text/csv" => :csv "application/xml" => :xml "text/xml" => :xml "application/x-xml" => :xml "text/yaml" => :yaml "application/x-yaml" => :yaml "application/rss+xml" => :rss "application/atom+xml" => :atom "application/json" => :json "text/x-json" => :json