aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-07-16 04:32:15 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-07-17 23:18:10 -0700
commit57a2780f14447152ece1b1301fc6c25b2ec43da5 (patch)
tree461185af231d685c355cc18b3e69584228dc1173 /actionpack/CHANGELOG
parenta1fcbd971d681e44de5ea33e6a8470ff8b8144c0 (diff)
downloadrails-57a2780f14447152ece1b1301fc6c25b2ec43da5.tar.gz
rails-57a2780f14447152ece1b1301fc6c25b2ec43da5.tar.bz2
rails-57a2780f14447152ece1b1301fc6c25b2ec43da5.zip
etag! and last_modified! conditional GET helpers
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index da9fdbfd9d..f6432fe0be 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -1,5 +1,9 @@
*Edge*
+* Conditional GET utility methods. [Jeremy Kemper]
+ * etag!([:admin, post, current_user]) sets the ETag response header and returns head(:not_modified) if it matches the If-None-Match request header.
+ * last_modified!(post.updated_at) sets Last-Modified and returns head(:not_modified) if it's no later than If-Modified-Since.
+
* All 2xx requests are considered successful [Josh Peek]
* Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host along with the source or per-request proc's won't run [DHH]