def quote_etag(etag, weak=False):
    if '"' in etag:
        raise ValueError('invalid etag')
    etag = '"%s"' % etag
    if weak:
        etag = 'w/' + etag
    return etag
Decorate methods with this to require that the user be logged in.
dataset/ETHPy150Open Eforcers/gae-flask-todo/lib/werkzeug/http.py/quote_etag--crossover with--dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py/authenticated