From d336ca5280523c4f4c9387d8a6778273469f856c Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 22 Jan 2005 14:48:59 +0000 Subject: Fixed that the content-header was being set to application/octet_stream instead of application/octet-stream on send_date/file [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@475 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 37e3269aa8..a11c86b107 100755 --- a/actionpack/lib/action_controller/base.rb +++ b/actionpack/lib/action_controller/base.rb @@ -189,7 +189,7 @@ module ActionController #:nodoc: DEFAULT_RENDER_STATUS_CODE = "200 OK" DEFAULT_SEND_FILE_OPTIONS = { - :type => 'application/octet_stream'.freeze, + :type => 'application/octet-stream'.freeze, :disposition => 'attachment'.freeze, :stream => true, :buffer_size => 4096 -- cgit v1.2.3