aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-07-09 18:35:35 +0200
committerMichael Koziarski <michael@koziarski.com>2008-07-09 18:36:15 +0200
commit4ce9931f4f30045b2975328e7d42a02188e35079 (patch)
treeeddc7d54a73303128b28cc5eb62648e556696a19 /actionpack/CHANGELOG
parent6b61e95dc8d717b4500ab623816863c0bb707e2b (diff)
downloadrails-4ce9931f4f30045b2975328e7d42a02188e35079.tar.gz
rails-4ce9931f4f30045b2975328e7d42a02188e35079.tar.bz2
rails-4ce9931f4f30045b2975328e7d42a02188e35079.zip
Reenable the use of the Accept header to give people a chance to update their applications and provide feedback.
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r--actionpack/CHANGELOG9
1 files changed, 5 insertions, 4 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG
index 20e9da6338..89cd7c64af 100644
--- a/actionpack/CHANGELOG
+++ b/actionpack/CHANGELOG
@@ -4,15 +4,16 @@
* Add :recursive option to javascript_include_tag and stylesheet_link_tag to be used along with :all. #480 [Damian Janowski]
-* Disable the Accept header by default [Michael Koziarski]
+* Allow users to disable the use of the Accept header [Michael Koziarski]
The accept header is poorly implemented by browsers and causes strange
errors when used on public sites where crawlers make requests too. You
- should use formatted urls (e.g. /people/1.xml) to support API clients.
+ can use formatted urls (e.g. /people/1.xml) to support API clients in a
+ much simpler way.
- Alternatively to re-enable it you need to set:
+ To disable the header you need to set:
- config.action_controller.use_accept_header = true
+ config.action_controller.use_accept_header = false
* Do not stat template files in production mode before rendering. You will no longer be able to modify templates in production mode without restarting the server [Josh Peek]