code: def headers(headers={}):
      
      def decorator(f):
          @wraps(f)
          def decorated_function(*args, **kwargs):
              resp = make_response(f(*args, **kwargs))
              h = resp.headers
              for header, value in headers.items():
                  h[header] = value
              return resp
          return decorated_function
      return decorator
docs: This decorator adds the headers passed in to the response
      http://flask.pocoo.org/snippets/100/