code: def get_http_header(self) -> Response:
          '''Return the HTTP header.
  
          It only attempts to read the first 4 KiB of the payload.
  
          Returns:
              Response, None: Returns an instance of
              :class:`.http.request.Response` or None.
          '''
          with wpull.util.reset_file_offset(self.block_file):
              data = self.block_file.read(4096)
  
          match = re.match(br'(.*?\r?\n\r?\n)', data)
  
          if not match:
              return
  
          status_line, dummy, field_str = match.group(1).partition(b'\n')
  
          try:
              version, code, reason = Response.parse_status_line(status_line)
          except ValueError:
              return
  
          response = Response(status_code=code, reason=reason, version=version)
  
          try:
              response.fields.parse(field_str, strict=False)
          except ValueError:
              return
  
          return responsf get_http_header(self) -> Response:
          '''Return the HTTP header.
  
          It only attempts to read the first 4 KiB of the payload.
  
          Returns:
              Response, None: Returns an instance of
              :class:`.http.request.Response` or None.
          '''
          with wpull.util.reset_file_offset(self.block_file):
              data = self.block_file.read(4096)
  
          match = re.match(br'(.*?\r?\n\r?\n)', data)
  
          if not match:
              return
  
          status_line, dummy, field_str = match.group(1).partition(b'\n')
  
          try:
              version, code, reason = Response.parse_status_line(status_line)
          except ValueError:
              return
  
          response = Response(status_code=code, reason=reason, version=version)
  
          try:
              response.fields.parse(field_str, strict=False)
          except ValueError:
              return
  
          return response
docs: Return the HTTP header.
  
          It only attempts to read the first 4 KiB of the payload.
  
          Returns:
              Response, None: Returns an instance of
              :class:`.http.request.Response` or None.