code: def get_remote_content_len(self, remote, headers=None):
          
  
          if headers is None:
              headers = self._get_default_request_headers()
  
          req = urllib.request.Request(remote, headers=headers)
  
          try:
              response = urllib.request.urlopen(req)
              resp_header = response.info()
              byte_size = resp_header.get('Content-length')
          except OSError as err:
              byte_size = None
              LOG.error(err)
  
          return byte_size
docs: :param remote:
          :return: size of remote file