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
This commit is contained in:
David Heinemeier Hansson 2005-01-22 14:48:59 +00:00
parent 38ee39a4a5
commit d336ca5280
2 changed files with 3 additions and 1 deletions

@ -1,5 +1,7 @@
*SVN*
* Fixed that the content-header was being set to application/octet_stream instead of application/octet-stream on send_date/file [Alexey]
* Removed the need for passing the binding when using CacheHelper#cache
* Added TestResponse#binary_content that'll return as a string the data sent through send_data/send_file for testing #500 [Alexey]

@ -189,7 +189,7 @@ class Base
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