From 7c7d58937b614350d2cd474c45ff188864f67505 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 23 Nov 2006 23:52:25 +0000 Subject: Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/CHANGELOG | 2 ++ 1 file changed, 2 insertions(+) (limited to 'actionpack/CHANGELOG') diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 5602d315f6..3025519ab2 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [DHH] + * Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you don't even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [DHH] * Update Routing to complain when :controller is not specified by a route. Closes #6669. [Nicholas Seckar] -- cgit v1.2.3