Implement a HeaderValidatingSession class in task module.py that extends requests.Session . This subclass…
Implement a HeaderValidatingSession class in task module.py that extends requests.Session . This subclass…: a task in repo2rlenv-code-instruct (Harbor dataset). Also implement a standalone helper validate header pair(name: str, value: str) - bool that returns True if the pair is valid, False…
The task
Also implement a standalone helper `validate_header_pair(name: str, value: str) -> bool` that returns `True` if the pair is valid, `False` otherwise.
Part of FineEnvs/repo2rlenv-code-instruct.