Advertisement
Guest User

Untitled

a guest
Jun 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. import flask
  2.  
  3. app = flask.Flask("KEKUS_MAXIMUS")
  4.  
  5. @app.route("/")
  6. def index():
  7.   response = flask.make_response("ahahah")
  8.   response.headers['Set-Cookie'] = "a=13;"
  9.   return response
  10.  
  11. app.run(host="0.0.0.0", port=9000)
  12. print("kek")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement