restlet/restlet-framework-java — pull request #609 by mintrigue (2012-06-14 23:22:32+00:00)
Title: Fixed issue #607: Content-length greater than actual content w/ range request

For getAvailableSize, used for Content-length, I added a conditional to return the size of the content it was smaller than the size of the range.