()
| 41 | |
| 42 | |
| 43 | def test_response_headers_encoding() -> None: |
| 44 | response = Response( |
| 45 | 200, headers={'Content-Type': 'text/plain; charset=cp1250'}, content=b'\x9e\x64\xe1\xf8\x65\x6e\xed' |
| 46 | ) |
| 47 | |
| 48 | assert response.text == 'ždáření' |
| 49 | |
| 50 | |
| 51 | def test_response_headers_explicit_encoding() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…