예제 #1
0
def after_request(response):
    """Remove/Add a couple of things after the request."""
    session_db.remove()
    add_sec_headers(response)
    add_csp(response)
    ab_init(response)
    return response
예제 #2
0
def after_request(response):
    """Remove/Add a couple of things after the request."""
    session_db.remove()
    add_sec_headers(response)
    add_csp(response)
    if app.config['AB_EXPERIMENTS']:
        ab_init(response)
    return response
예제 #3
0
def shutdown_session(exception=None):
    """Clear the session."""
    session_db.remove()
예제 #4
0
def after_request(response):
    session_db.remove()
    return response
예제 #5
0
def shutdown_session(exception=None):
    session_db.remove()
예제 #6
0
def after_request(response):
    session_db.remove()
    add_sec_headers(response)
    add_csp(response)
    return response
예제 #7
0
def shutdown_session(exception=None):
    session_db.remove()
예제 #8
0
def after_request(response):
    session_db.remove()
    return response
예제 #9
0
def after_request(response):
    """Remove/Add a couple of things after the request."""
    session_db.remove()
    add_sec_headers(response)
    add_csp(response)
    return response
예제 #10
0
def shutdown_session(exception=None):
    """Clear the session."""
    session_db.remove()
예제 #11
0
def after_request(response):
    session_db.remove()
    add_sec_headers(response)
    add_csp(response)
    return response