Trying to figure out why this toy code wasn't working:
@app.route('/')
def get_basic_file():
response.set_cookie('basic_cookie', 1)
return static_file('index.html', 'path')
It seems the static_file() method never looks at the original response object.
Trying to figure out why this toy code wasn't working:
It seems the static_file() method never looks at the original response object.