We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The reference to response.headers[:content_length] is incorrect and raises a NoMethodError. The method should probably just be:
response.headers[:content_length]
def entity_size(response) response.content_length || response.body.size end
This issue is filed for reference, not expecting a patch.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The reference to
response.headers[:content_length]
is incorrect and raises a NoMethodError. The method should probably just be:This issue is filed for reference, not expecting a patch.
The text was updated successfully, but these errors were encountered: