code: def wrapper(self, updateParams=None):
  		
  		def decorator(f):
  			_headers = self._getHeaders(updateParams)
  			""" flask decorator to include headers """
  			@wraps(f)
  			def decorated_function(*args, **kwargs):
  				resp = make_response(f(*args, **kwargs))
  				self._setRespHeader(resp, _headers)
  				resp.has_secure_headers = True
  				return resp
  			return decorated_function
  		return decorator
docs: create wrapper for flask app route