Validate the given default headers and custom headers. Does nothing by default.
(
self,
headers: Headers, # noqa: ARG002
custom_headers: Headers, # noqa: ARG002
)
| 706 | } |
| 707 | |
| 708 | def _validate_headers( |
| 709 | self, |
| 710 | headers: Headers, # noqa: ARG002 |
| 711 | custom_headers: Headers, # noqa: ARG002 |
| 712 | ) -> None: |
| 713 | """Validate the given default headers and custom headers. |
| 714 | |
| 715 | Does nothing by default. |
| 716 | """ |
| 717 | return |
| 718 | |
| 719 | @property |
| 720 | def user_agent(self) -> str: |