human
I wrote the below code

    @functools.wraps(f)
    def wrapper(request, *args, **kw):
        response = f(request, *args, **kw)
        "If    Access-Control-Allow-Credentials    isn't    set,    the    browser    won't\n                                return    data    required    cookies    to    see.        This    is    a    good    thing,    let's    keep\n                                it    that    way."
        response['Access-Control-Allow-Origin'] = '*'
        response['Access-Control-Allow-Methods'] = 'GET,    OPTIONS'
        return response
    return wrapper

What's a good function header?
assistant
#Here's a good function header.

def allow_cross_site_request(f):