The uncompressed and decoded HTTP message body as text. Accessing this attribute may raise a `ValueError` when either content-encoding or charset is invalid. *See also:* `Message.raw_content`, `Message.content`
(self)
| 344 | |
| 345 | @property |
| 346 | def text(self) -> str | None: |
| 347 | """ |
| 348 | The uncompressed and decoded HTTP message body as text. |
| 349 | |
| 350 | Accessing this attribute may raise a `ValueError` when either content-encoding or charset is invalid. |
| 351 | |
| 352 | *See also:* `Message.raw_content`, `Message.content` |
| 353 | """ |
| 354 | return self.get_text() |
| 355 | |
| 356 | @text.setter |
| 357 | def text(self, value: str | None) -> None: |
no test coverage detected