@app.route('/gzip')
@filters.gzip
def view_gzip_encoded_content():
 return jsonify(get_dict('origin', 'headers', method=request.method, gzipped=True))

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