MCPcopy
hub / github.com/postmanlabs/httpbin / view_gzip_encoded_content

Function view_gzip_encoded_content

httpbin/core.py:239–243  ·  view source on GitHub ↗

Returns GZip-Encoded Data.

()

Source from the content-addressed store, hash-verified

237@app.route('/gzip')
238@filters.gzip
239def view_gzip_encoded_content():
240 """Returns GZip-Encoded Data."""
241
242 return jsonify(get_dict(
243 'origin', 'headers', method=request.method, gzipped=True))
244
245
246@app.route('/deflate')

Callers

nothing calls this directly

Calls 2

jsonifyFunction · 0.85
get_dictFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…