itty
itty copied to clipboard
Added @accept() for HTTP Accept: request header support.
Hi,
I wanted to be able to do this:
@get('/') @accept('application/json') def index(request): return "here we would return JSON\n"
So I did it.
Let me know what you think :)
-jason