code: def download_chunk(self, url, headers):
          
          response = requests.get(url, headers=headers, stream=True)
          if response.status_code == SWIFT_EXPIRED_STATUS_CODE \
                  or response.status_code == S3_EXPIRED_STATUS_CODE:
              raise DownloadInconsistentError(response.text)
          response.raise_for_status()
          self.actual_bytes_read = 0
          self._write_response_to_file(response)
          self._verify_download_complete()
docs: Download part of a file and write to our file
          :param url: str: URL to download this file
          :param headers: dict: headers used to download this file chunk