Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import flask
- app = flask.Flask("KEKUS_MAXIMUS")
- @app.route("/")
- def index():
- response = flask.make_response("ahahah")
- response.headers['Set-Cookie'] = "a=13;"
- return response
- app.run(host="0.0.0.0", port=9000)
- print("kek")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement