rubydora
rubydora copied to clipboard
Bug in Datastream#entity_size
The reference to response.headers[:content_length]
is incorrect and raises a NoMethodError. The method should probably just be:
def entity_size(response)
response.content_length || response.body.size
end
This issue is filed for reference, not expecting a patch.