(self)
| 618 | |
| 619 | @property |
| 620 | def reason_phrase(self) -> str: |
| 621 | try: |
| 622 | reason_phrase: bytes = self.extensions["reason_phrase"] |
| 623 | except KeyError: |
| 624 | return codes.get_reason_phrase(self.status_code) |
| 625 | else: |
| 626 | return reason_phrase.decode("ascii", errors="ignore") |
| 627 | |
| 628 | @property |
| 629 | def url(self) -> URL: |
nothing calls this directly
no test coverage detected