Closes #212 by adding a helpful custom error page, including link to API if this was an API request (when students are most likely to encounter method errors).
Also manually add an Allow header to the 405 response, which I'm a bit surprised Flask isn't doing automatically.
Closes #212 by adding a helpful custom error page, including link to API if this was an API request (when students are most likely to encounter method errors).
Also manually add an
Allow
header to the 405 response, which I'm a bit surprised Flask isn't doing automatically.