Searched refs:total_num_of_bytes (Results 1 – 1 of 1) sorted by relevance
73 total_num_of_bytes = resource['content-length']74 byte_range = self.GetByteRange(total_num_of_bytes)80 total_num_of_bytes))81 total_num_of_bytes = byte_range.to_byte - byte_range.from_byte + 185 self.send_header('Content-Length', str(total_num_of_bytes))94 def GetByteRange(self, total_num_of_bytes): argument126 total_num_of_bytes - 1)129 total_num_of_bytes - to_byte)138 if to_byte < from_byte or to_byte >= total_num_of_bytes:139 to_byte = total_num_of_bytes - 1