Skip to content

Instantly share code, notes, and snippets.

@013231
Created July 6, 2012 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 013231/3059922 to your computer and use it in GitHub Desktop.
Save 013231/3059922 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from flask import Flask
from time import sleep
application = Flask(__name__)
application.debug = True
@application.route('/a')
@application.route('/b')
@application.route('/c')
def a():
sleep(10)
return 'Hello world.'
if __name__ == '__main__':
application.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment