Changeset 6159
- Timestamp:
- 02/18/07 00:00:14 (2 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/mime_types.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r6158 r6159 1 1 *SVN* 2 3 * Added default mime type for CSS (Mime::CSS) [DHH] 2 4 3 5 * Added that rendering will automatically insert the etag header on 200 OK responses. The etag is calculated using MD5 of the response body. If a request comes in that has a matching etag, the response will be changed to a 304 Not Modified and the response body will be set to an empty string. [DHH] trunk/actionpack/lib/action_controller/mime_types.rb
r5912 r6159 3 3 Mime::Type.register "text/html", :html, %w( application/xhtml+xml ), %w( xhtml ) 4 4 Mime::Type.register "text/javascript", :js, %w( application/javascript application/x-javascript ) 5 Mime::Type.register "text/css", :css 5 6 Mime::Type.register "text/calendar", :ics 6 7 Mime::Type.register "text/csv", :csv