def _get_content_range(start, end, total):
 start = (start or 0)
 end = ((end or total) - 1)
 return ('bytes %s-%s/%s' % (start, end, total))

def _get_content_range ( start , end , total ) : start = ( start or 0 ) end = ( ( end or total ) - 1 ) return ( 'bytes %s-%s/%s' % ( start , end , total ) )
returns a suitable content-range header: .