instance method
content_length
Ruby on Rails 4.1.16
Since v3.0.20Signature
content_length()
Returns the content length of the request as an integer.
Source
# File actionpack/lib/action_dispatch/http/request.rb, line 187
def content_length
super.to_i
end
Defined in actionpack/lib/action_dispatch/http/request.rb line 187
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Request