Searched refs:range_string (Results 1 – 2 of 2) sorted by relevance
946 range_string = 'bytes */%s' % self.total_size948 range_string = 'bytes %s-%s/%s' % (start, self.total_size - 1,951 request.headers['Content-Range'] = range_string990 range_string = 'bytes %s-%s/*' % (start, end - 1)993 range_string = 'bytes */%s' % self.total_size996 range_string = 'bytes %s-%s/%s' % (start, end - 1, self.total_size)998 request.headers['Content-Range'] = range_string
182 def _range_string_to_part_index(range_string, part_size): argument183 start, inside_end = [int(value) for value in range_string.split('-')]