aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/caching_test.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2007-02-17 18:16:44 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2007-02-17 18:16:44 +0000
commit2e55095f6fc1ec2799bbdfd1143d487d2de1d7a3 (patch)
tree3eab54ea89acc4fa01760b0b0e60d94160881144 /actionpack/test/controller/caching_test.rb
parentcfa7df3fbb23f372d673936e68e232441e60097a (diff)
downloadrails-2e55095f6fc1ec2799bbdfd1143d487d2de1d7a3.tar.gz
rails-2e55095f6fc1ec2799bbdfd1143d487d2de1d7a3.tar.bz2
rails-2e55095f6fc1ec2799bbdfd1143d487d2de1d7a3.zip
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]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/caching_test.rb')
0 files changed, 0 insertions, 0 deletions