Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-app / pithos / api / test / views.py @ 381a548c

History | View | Annotate | Download (17.4 kB)

# Date Author Comment
381a548c 10/30/2013 05:20 pm Sofia Papagiannaki

snf_django: Change error status code if request method is not valid

Return 405 (NotAllowed) instead of 400 (BadRequest)
Add Allow header in the response containing the list of valid methods

3dce76b5 10/29/2013 01:49 pm Sofia Papagiannaki

pithos: Eliminate AssertionError in views

Remove check for not allowed request method in view_method() decorator.
Let the api_method() decorator handle such cases.

Refs: #4501

6ee6677e 08/08/2013 05:17 pm Sofia Papagiannaki

pithos: Add tests

5ecaeaa6 07/25/2013 06:04 pm Sofia Papagiannaki

pithos: Fix pithos test views

95b36144 07/18/2013 08:03 pm Sofia Papagiannaki

pithos: Write tests for the weblogin view