This doesn't seem to be good if so for REST type interfaces. I wanted to have
@app.add_route(r'^/run/paramenters/(\w+)', method='GET")
def my_getter(run_id): pass
and
@app.add_route(r'^/run/paramenters/(\w+)', method='POST")
def my_setter(run_id): pass
But in that order I get a 405 for the POST. What gives? I can do this with classes all day. Some bug under the add_route decorator?
This doesn't seem to be good if so for REST type interfaces. I wanted to have
@app.add_route(r'^/run/paramenters/(\w+)', method='GET")
def my_getter(run_id): pass
and
@app.add_route(r'^/run/paramenters/(\w+)', method='POST")
def my_setter(run_id): pass
But in that order I get a 405 for the POST. What gives? I can do this with classes all day. Some bug under the add_route decorator?