code: def peek_ahead(header: str, pos: int) -> Optional[str]:
      
      return None if pos == len(header) else header[pos]
docs: Return the next character from ``header`` at the given position.
  
      Return ``None`` at the end of ``header``.
  
      We never need to peek more than one character ahead.