Commit 63dd0ee6 authored by Mike Shoup's avatar Mike Shoup

Add pyfalcon benchmark

parent 7fd1ed5a
from .app import application
import falcon
class HelloResource:
def on_get(self, req, resp):
""" Handles GET requests """
hello = {'hello': 'world'}
resp.media = hello
application = falcon.API()
application.add_route('/hello', HelloResource())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment