HTTP request method, e.g. "GET".
(self)
| 656 | |
| 657 | @property |
| 658 | def method(self) -> str: |
| 659 | """ |
| 660 | HTTP request method, e.g. "GET". |
| 661 | """ |
| 662 | return self.data.method.decode("utf-8", "surrogateescape").upper() |
| 663 | |
| 664 | @method.setter |
| 665 | def method(self, val: str | bytes) -> None: |
nothing calls this directly
no test coverage detected