@app.route('/deflate')
@filters.deflate
def view_deflate_encoded_content():
 return jsonify(get_dict('origin', 'headers', method=request.method, deflated=True))

@ app . route ( '/deflate' ) @ filters . deflate def view_deflate_encoded_content ( ) : return jsonify ( get_dict ( 'origin' , 'headers' , method = request . method , deflated = True ) )
returns deflate-encoded data .