def content_range(self, length):
        range = self.range_for_length(length)
        if range is None:
            return None
        return ContentRange(range[0], range[1], length)
Works like range_for_length; returns None or a ContentRange object
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/webob_0_9/webob/byterange.py/Range.content_range