Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django / lib / api / utils.py @ 499d9bfe

History | View | Annotate | Download (3.4 kB)

# Date Author Comment
b8525481 05/28/2013 07:56 pm Sofia Papagiannaki

snf-django-lib: Fix minor string formatting issue

87dd67af 05/24/2013 04:15 pm Christos Stavrakakis

snf-django: BadRequest if no content-type

Raise a BadRequest if request is missing Content-Type header field.

72bf812d 04/08/2013 11:06 am Christos Stavrakakis

Implement single decorator for handling API calls

Create a single decorator for API methods to be used be accross all
synnefo. This decorator does the following:

  • Proper logging of 5xx faults and unexpected errors
  • Authentication with Astakos using snf-astakos-client...