#NEWLINE# @ app . route ( '/cookies/set/<name>/<value>' ) #NEWLINE# def set_cookie( request , name , value ) : #NEWLINE# #INDENT# 'Sets a cookie and redirects to cookie list.' #NEWLINE# r = app . make_response ( redirect ( url_for ( 'view_cookies' ) ) ) #NEWLINE# r . set_cookie ( key = name , value = value , secure = secure_cookie ( request ) ) #NEWLINE# return request