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:
parent
38ee39a4a5
commit
d336ca5280
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user