Statistics
| Branch: | Tag: | Revision:

root / kamaki / clients / connection / kamakicon.py @ 6695edc9

History | View | Annotate | Download (7 kB)

# Date Author Comment
023230b5 03/12/2013 03:37 pm Stavros Sachtouris

Fix old livetest pithos error, new _encode method

Old livetest pithos has an error in test_account_post since pithos
server started checking if usernames to be set in a group existed.
This change affected live this specific live kamaki test that used
to test the set_account_group operation with fake user ids....

b35e8daf 03/12/2013 03:04 pm Stavros Sachtouris

Add utf-8 params/headers checks in perform_request

bcd6c6e6 03/12/2013 01:13 pm Stavros Sachtouris

Finetest _retrieve_connection_info

@ clients.connection.kamakicon.KamakiHTTPConnection

8629edf9 03/11/2013 12:23 pm Stavros Sachtouris

Merge branch 'develop' into feature-tests

b04a1abf 03/11/2013 12:19 pm Stavros Sachtouris

Explicetely set http connection poolsize

Conflicts:

version
20c94832 03/05/2013 01:21 pm Stavros Sachtouris

Unittest http response pool lock handling

58ddc630 03/04/2013 08:10 pm Stavros Sachtouris

Release http conn. if error while getting response

Fixes Bug #3370

Conflicts:

kamaki/clients/connection/kamakicon.py
version
33daf181 02/27/2013 03:45 pm Stavros Sachtouris

Merge branch 'develop' into feature-tests

Conflicts:
kamaki/clients/connection/kamakicon.py

9a8892d8 02/26/2013 06:32 pm Stavros Sachtouris

Encode non-ascii http headers

Use urllib quote + str.encode('utf-8')

622a12fe 02/26/2013 12:24 pm Stavros Sachtouris

Merge branch 'develop' into feature-tests

Conflicts:
kamaki/clients/connection/__init__.py
kamaki/clients/connection/kamakicon.py

a517ff50 02/26/2013 12:19 pm Stavros Sachtouris

Allow non-ascii paramters on path2url

Replace calls of the form unicode(v) to the equivalent" '%s' % v

5d16ef46 02/18/2013 04:21 pm Stavros Sachtouris

Implement KamakiHTTPConnection unittests

e0214780 02/18/2013 01:13 pm Stavros Sachtouris

Automatic test discovery for clients.connection

b2c5b650 02/18/2013 11:49 am Stavros Sachtouris

Rename HTTPConnection/Response classes

kamaki.clients.connection.HTTPConnection/Response abstract class are renamed
to kamaki.clients.connection.KamakiConnection/Response to avoid confusion w.
httplib.HTTPConnection/Response classes

8dd20bc7 02/15/2013 02:31 pm Stavros Sachtouris

Fix typo in KamakiHTTPResponse method

2005b18e 02/11/2013 05:42 pm Stavros Sachtouris

Fix some more pep8 issues, more later

24ff0a35 02/11/2013 05:19 pm Stavros Sachtouris

Fix pep8 compliance issues everywhere

a03ade9e 01/23/2013 05:16 pm Stavros Sachtouris

Minor adjustments + apply to image_cli <=register

67469d65 01/04/2013 04:30 pm Stavros Sachtouris

Handle connection errors, allow special handling

Showcase: server_info catche/manage clienterror that was
a connection error

1f417830 12/07/2012 02:49 pm Stavros Sachtouris

Track and log errors at connection and clients mod

5f7882af 12/05/2012 05:30 pm Stavros Sachtouris

Comments for better docs in Connection

b4c8b916 12/05/2012 01:38 pm Stavros Sachtouris

kamakicon comments doc-friendly

05208859 12/05/2012 11:47 am Stavros Sachtouris

Merge branch 'dionyziz' into develop

Conflicts:
setup.py

Docs adjusted

b98fe305 12/04/2012 12:36 pm Dionysis Zindros

Rename object pool library from pool to objpool

b07589af 12/03/2012 04:04 pm Dionysis Zindros

Split pool into separate lib; remove snf-common deps

0238c167 11/06/2012 07:08 pm Stavros Sachtouris

Propagate error handling corrections up to CLIs

7e5415a4 11/06/2012 04:34 pm Stavros Sachtouris

Modernize clients and clients.connection error hdl

d5eeabc0 11/05/2012 07:38 pm Stavros Sachtouris

Error handling reform start from connection

7d91734c 11/05/2012 07:05 pm Stavros Sachtouris

Fix unresolved httplib request url - path issue

minor unitest fixes

e02728f9 11/02/2012 07:28 pm Stavros Sachtouris

Use standard threading instead of gevent/greenlets

gevent depedency is not needed after that

3dabe5d2 11/02/2012 01:16 pm Stavros Sachtouris

Make all source pep8 compliant

5203ec42 10/31/2012 04:06 pm Stavros Sachtouris

Remove forgoten debug print message

f8b42e99 10/31/2012 03:28 pm Stavros Sachtouris

Propagate failed connection to server

b9d07587 10/30/2012 01:25 pm Stavros Sachtouris

Astakos: minor config bug, introduce unittesting

c270fe96 10/26/2012 04:18 pm Stavros Sachtouris

Remove relative imports from all pkgs, fix astakos

astakos imports an anused (and soon deprecated) module

3ad34f11 10/25/2012 03:20 pm Stavros Sachtouris

Fix unicode on httplib bug

Unicode headers or url might apear as httplib request
Although httplib can usually handle the problem, it breaks when
the body has been read from a binary file because
unicode_str + binary produces a UnicodeDecodeError
Thus the url, headers, etc are forced to be simple strings

1785ad41 09/18/2012 03:55 pm Stavros Sachtouris

Voodo-fix mysterious header-destroying request bug

0004301f 09/18/2012 02:07 pm Stavros Sachtouris

Fix safe headers/params bug, pithos download bug

9a7efb0d 09/18/2012 12:11 pm Stavros Sachtouris

Greenlet/thread safe header/param requests

Requests can now distinguish between "global" headers/params
and thread-specific.

5b263ba2 09/11/2012 06:10 pm Stavros Sachtouris

Implement kamakicon, use it

kamakicon: an httplib/ObjectPool based connection class

f364f960 09/10/2012 12:18 pm Stavros Sachtouris

Pool connections

Requests also block if pool is full (used to be just for
responses)