History | View | Annotate | Download (7.7 kB)
Fix API decorator response Content-Type
Remove check for response Content-Type, since 'django.http.HttpResponse'has always a default Content-Type of 'text/html; charset=utf-8'. Viewsdefining their response 'Content-Type' should set the'override_serialization' attribute of response to 'True'.
Make 'api_method' to take astakos_url as argument
snf-django-lib: PEP-8 style fixes
snf-django-lib: ReRaise AstakosClientExceptions as API Faults
Implement single decorator for handling API calls
Create a single decorator for API methods to be used be accross allsynnefo. This decorator does the following: