Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django / lib / api / faults.py @ 381a548c

History | View | Annotate | Download (3.2 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

2b40f200 06/10/2013 08:00 pm Christos Stavrakakis

Make API faults have default 500 status code

Make the default status code of API Fault and AstakosClientException
to be 500.

fde7b7cb 04/10/2013 12:00 pm Ilias Tsitsimpis

snf-django-lib: Fault Exceptions now have code attr

420c24ee 04/09/2013 05:31 pm Ilias Tsitsimpis

PEP8 styling fixes in faults.py

bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.