flask_oauthlib/utils.py
def create_response(headers, body, status):
    """Create response class for Flask."""
    response = Response(body or '')
    for k, v in headers.items():
        response.headers[str(k)] = v

    response.status_code = status
    return response
def create_response(headers, body, status):
    response = Response(body or '')
    for k, v in headers.items():
        response.headers[str(k)] = v

    response.status_code = status
    return response
def create_response ( headers , body , status ) : response = Response ( body or '' ) for k , v in headers . items ( ) : response . headers [ str ( k ) ] = v response . status_code = status return response
Create response class for Flask.
Create response class for Flask .