Searched refs:range_header (Results 1 – 4 of 4) sorted by relevance
109 range_header = self.headers.getheader('Range')110 if range_header is None:112 if not range_header.startswith('bytes='):119 byte_range_values = range_header[len('bytes='):].split('-')
315 range_header = self._BuildContentRangeHeader(318 range_header = self._BuildContentRangeHeader(321 put_headers['Content-Range'] = range_header
349 range_header = self._build_content_range_header(352 range_header = self._build_content_range_header(355 put_headers['Content-Range'] = range_header
783 range_header = self._GetRangeHeaderFromResponse(refresh_response)794 if range_header is None:797 self.__progress = self.__GetLastByte(range_header) + 1835 def __GetLastByte(self, range_header): argument836 _, _, end = range_header.partition('-')