From 97dd9a91c249ec8717cb07e1f6a08b58f3544a5d Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 13 Mar 2006 05:51:55 +0000 Subject: Always use application/xml, then the charset is determined by the XML doc git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3860 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/lib/action_controller/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_controller/base.rb b/actionpack/lib/action_controller/base.rb index da48dc3255..bcfea86ac4 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -728,7 +728,7 @@ module ActionController #:nodoc: end def render_xml(xml, status = nil) - @response.headers['Content-Type'] = 'text/xml; charset=UTF-8' + @response.headers['Content-Type'] = 'application/xml' render_text(xml, status) end -- cgit v1.2.3