Changeset 6155
- Timestamp:
- 02/15/07 18:52:08 (2 years ago)
- Files:
-
- trunk/actionpack/lib/action_controller/request.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/lib/action_controller/request.rb
r6057 r6155 79 79 @accepts ||= 80 80 if @env['HTTP_ACCEPT'].to_s.strip.empty? 81 [ content_type, Mime::ALL ] 81 [ content_type, Mime::ALL ].compact # make sure content_type being nil is not included 82 82 else 83 83 Mime::Type.parse(@env['HTTP_ACCEPT'])