Example #1
0
def main_handler(environ):
    ht.dispatch_on_method(environ, {"POST": post_handler, "GET": get_handler})
Example #2
0
def main_handler(environ):
    ht.dispatch_on_method(environ, {
            'POST' : post_handler,
            'GET' : get_handler,
            'DELETE' : delete_handler})
Example #3
0
def main_handler(environ):
    ht.dispatch_on_method(environ, {
            'GET' : get_handler})
Example #4
0
def main_handler(environ):
    ht.dispatch_on_method(environ, {
            'POST' : post_handler})