MCPcopy Create free account
hub / github.com/aws/aws-cli / _assert_compression_header

Function _assert_compression_header

tests/unit/botocore/test_compress.py:133–135  ·  view source on GitHub ↗
(headers, encoding='gzip')

Source from the content-addressed store, hash-verified

131
132
133def _assert_compression_header(headers, encoding='gzip'):
134 assert 'Content-Encoding' in headers
135 assert encoding in headers['Content-Encoding']
136
137
138def assert_request_compressed(request_dict, expected_body):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected