def make_gzip_middleware(app, global_conf, compress_level=6):
 compress_level = int(compress_level)
 return middleware(app, compress_level=compress_level)

def make_gzip_middleware ( app , global_conf , compress_level = 6 ) : compress_level = int ( compress_level ) return middleware ( app , compress_level = compress_level )
return a gzip-compressing middleware .