alphagov/backdrop — pull request #101 by maxfliri (2013-06-12 11:39:53+00:00)
Title: Refactor routes

Changes and refactorings in write api routes:

- return 404 if the bucket is invalid (because the bucket name is part of the url), both for json post and csv upload
- return 405 for a GET request to a bucket
- bucket validation implemented as function decorator