human
Complete the below
def allow_cross_site_request(f):

    ''''Allow other sites to access this resource, see
    https://developer.mozilla.org/en/HTTP_access_control.'
    '''

Write me a the Python code you requested?
assistant
#Here is the Python code you requested.
    @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