grnet / djnro

DjNRO hits the decks of eduroam database management
http://djnro.grnet.gr/
Other
10 stars 21 forks source link

selectinst: return 400 Bad Request for method!=GET #63

Closed vladimir-mencl-eresearch closed 5 years ago

vladimir-mencl-eresearch commented 5 years ago

... otherwise, the code returns None, which causes an exception in the @never_cache decorator.

Replace an embarassing stack trace / 500 error page with a more graceful error message.

vladimir-mencl-eresearch commented 5 years ago

Trivial fix, merging