Changeset 3738
- Timestamp:
- 03/02/06 01:48:56 (3 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/caching.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r3701 r3738 1 1 *SVN* 2 3 * Added that page caching will only happen if the response code is less than 400 #4033 [g.bucher@teti.ch] 2 4 3 5 * Add ActionController::IntegrationTest to allow high-level testing of the way the controllers and routes all work together [Jamis Buck] trunk/actionpack/lib/action_controller/caching.rb
r3580 r3738 135 135 private 136 136 def caching_allowed 137 !@request.post? 137 !@request.post? && @response.headers['Status'] && @response.headers['Status'].to_i < 400 138 138 end 139 139 end