(self)
| 930 | ) |
| 931 | |
| 932 | def _get_urlencoded_form(self): |
| 933 | is_valid_content_type = ( |
| 934 | "application/x-www-form-urlencoded" |
| 935 | in self.headers.get("content-type", "").lower() |
| 936 | ) |
| 937 | if is_valid_content_type: |
| 938 | return tuple(url.decode(self.get_text(strict=False))) |
| 939 | return () |
| 940 | |
| 941 | def _set_urlencoded_form(self, form_data: Sequence[tuple[str, str]]) -> None: |
| 942 | """ |