instance method
sending_file?
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
sending_file?()
No documentation comment.
Source
# File actionpack/lib/action_controller/response.rb, line 127
def sending_file?
headers["Content-Transfer-Encoding"] == "binary"
end
Defined in actionpack/lib/action_controller/response.rb line 127
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::AbstractResponse