Statistics
| Branch: | Tag: | Revision:

root / snf-common / synnefo / lib / __init__.py @ 381a548c

History | View | Annotate | Download (3.6 kB)

# Date Author Comment
c1a0ab9b 06/12/2013 12:07 pm Georgios D. Tsoukalas

common: fix lib url handling and doctests

173f8f52 06/03/2013 11:50 am Kostas Papadimitriou

common: join_url helper improvements

- Handle single arguments
- Avoid lstrip'ing first argument

e5e80733 06/03/2013 11:50 am Kostas Papadimitriou

common: more improvements in join_urls

3c1e7bef 06/03/2013 11:50 am Kostas Papadimitriou

common: Support multiple arguments in join_urls util

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...

d2c9adac 05/15/2013 06:36 pm Christos Stavrakakis

Use custom method for joining urls

Implement 'join_urls' method for joining a base URL with a path,
without worrying about redundant or missing "/". Do not use
'urlparse.urljoin', since it has different semantics.

8acb1f97 02/23/2012 03:06 pm Kostas Papadimitriou

Common synnefo lib

Includes the following helpers to be used by synnefo django apps

- logging config initialization middlware
- astakos authentication helpers
- parse_http_date compat helper
- rabbitmq client using pika