Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django / lib / api @ 27612504

Name Size
  proxy
__init__.py 7.9 kB
faults.py 2.8 kB
parsedate.py 3.5 kB
utils.py 3.4 kB

Latest revisions

# Date Author Comment
27612504 06/06/2013 07:14 pm Sofia Papagiannaki

snf_django: Optionally use other default serialization than json

Pithos api default serialization for listing is text insted of json.
However the common api decorator if not specified otherwise used to
json as the default serialization.
So we introduced a new optional argument (defaults to json) to override...

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.

5ad8eca1 05/20/2013 04:16 pm Kostas Papadimitriou

django-lib: Preserve proxy target path

142133fb 05/20/2013 03:08 pm Kostas Papadimitriou

snf-django: Improve headers handling in common proxy util

- Avoid proxying Connection, Host and Cookie headers
- Cleanup non headers keys (e.g. wsgi.*)
- Set X-Forwarded-For header

222305b7 05/20/2013 12:44 pm Sofia Papagiannaki

astakos: replace CookieAuthenticationMiddleware with a view decorator

reverse commits ab30f5f163a13dfc7f9bec4d263208dd35f09d16 &
1439d6383113b151b6a3316e320a0418fa30d421

decorate also ``django.contrib.auth.views`` utilized by
astakos

1439d638 05/16/2013 08:27 pm Sofia Papagiannaki

astakos: api calls authenticated via X-Auth-Token shall not affect cookie

CookieAuthenticationMiddleware.process_request() synchronizes
the astakos cookie with the request user.
If an astakos cookie is set but there is no logged in user,
the middleware deletes the cookie....

fed0b230 05/15/2013 06:38 pm Christos Stavrakakis

Replace 'synnefo.lib.http' with 'objpool.http'

View revisions

Also available in: Atom