def remove_headers(*headers):
 def _decorator(func):
  '\n        Decorates the given function.\n        '
  @wraps(func)
  def _inner(*args, **kwargs):
   '\n            Alters the response.\n            '
   response = func(*args, **kwargs)
   remove_headers_from_response(response, *headers)
   return response
  return _inner
 return _decorator

def remove_headers ( * headers ) : def _decorator ( func ) : @ wraps ( func ) def _inner ( * args , ** kwargs ) : response = func ( * args , ** kwargs ) remove_headers_from_response ( response , * headers ) return response return _inner return _decorator
decorator that removes specific headers from the response .