Browse files

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
  • Loading branch information...
1 parent 9286272 commit 97dd9a91c249ec8717cb07e1f6a08b58f3544a5d @dhh dhh committed Mar 13, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/base.rb
View
2 actionpack/lib/action_controller/base.rb
@@ -728,7 +728,7 @@ def render_javascript(javascript, status = nil)
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

0 comments on commit 97dd9a9

Please sign in to comment.