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