(self)
| 1874 | assert r.getheaders() is r.headers |
| 1875 | |
| 1876 | def test_get_case_insensitive_headers(self) -> None: |
| 1877 | headers = {"host": "example.com"} |
| 1878 | r = HTTPResponse(headers=headers) |
| 1879 | assert r.headers.get("host") == r.getheader("host") == "example.com" |
| 1880 | assert r.headers.get("Host") == r.getheader("Host") == "example.com" |
| 1881 | |
| 1882 | def test_retries(self) -> None: |
| 1883 | fp = BytesIO(b"") |
nothing calls this directly
no test coverage detected