# File /Users/nshb/svn/svn.inimit.com/railsmanual.com/www/trunk/src/rails-1.2.5/actionpack/lib/action_controller/request.rb, line 77 def accepts @accepts ||= if @env['HTTP_ACCEPT'].to_s.strip.empty? [ content_type, Mime::ALL ] else Mime::Type.parse(@env['HTTP_ACCEPT']) end end
Returns the accepted MIME type for the request