MCPcopy Create free account
hub / github.com/apify/impit / test_content_encoding

Method test_content_encoding

impit-python/test/no_client_test.py:47–50  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 assert response.text
46
47 def test_content_encoding(self) -> None:
48 resp = impit.get(get_httpbin_url('/encoding/utf8'))
49 assert resp.status_code == 200
50 assert resp.encoding == 'utf-8'
51
52 def test_headers_work(self) -> None:
53 response = impit.get(get_httpbin_url('/headers'), headers={'Impit-Test': 'foo'})

Callers

nothing calls this directly

Calls 2

get_httpbin_urlFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected