MCPcopy
hub / github.com/aio-libs/aiohttp / test_compression_gzip

Method test_compression_gzip

tests/test_http_parser.py:68–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.assertIsNone(close)
67
68 def test_compression_gzip(self):
69 headers, raw_headers, close, compression = self.parser.parse_headers(
70 [b'', b'content-encoding: gzip', b'', b''])
71 self.assertEqual('gzip', compression)
72
73 def test_compression_deflate(self):
74 headers, raw_headers, close, compression = self.parser.parse_headers(

Callers

nothing calls this directly

Calls 1

parse_headersMethod · 0.80

Tested by

no test coverage detected