Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django / lib @ a0a3da60

Name Size
  api
  db
__init__.py 0 Bytes
astakos.py 4.1 kB

Latest revisions

# Date Author Comment
a0a3da60 06/07/2013 12:56 am Kostas Papadimitriou

django-lib: API url patterns helper

`snf_django.lib.api.urls.api_patterns` acts as django `patterns` method
used commonly in urls modules. Using api_patterns to register urls will
result all patterns to be exempted from csrf protection.

81e19e70 06/07/2013 12:49 am Kostas Papadimitriou

django-lib: Exempt api_method views from csrf

12c730d9 06/03/2013 03:32 pm Georgios D. Tsoukalas

django-lib: fix missing 'raise' typo

152e7bba 06/03/2013 11:50 am Georgios D. Tsoukalas

snf-django proxy: preserve the response's headers

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

499d9bfe 05/31/2013 01:13 pm Christos Stavrakakis

cyclades: Raise 500 for commission errors

Wrap all calls to astakosclient for commissions to raise 500, if any
error other than QuotaLimit(413) occurs.

b8525481 05/28/2013 07:56 pm Sofia Papagiannaki

snf-django-lib: Fix minor string formatting issue

c50825bf 05/28/2013 07:56 pm Sofia Papagiannaki

snf-django-lib: Fix minor spelling issue in get_serialization

f870efe2 05/28/2013 07:56 pm Sofia Papagiannaki

snf-django-lib: Fix proxy issue

The ``X-Forwarded-Host`` header should not be forwared to the target
because django appends its value to the Host header and
results in validate_host() failure.

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.

View revisions

Also available in: Atom