History | View | Annotate | Download (7 kB)
Fix old livetest pithos error, new _encode method
Old livetest pithos has an error in test_account_post since pithosserver started checking if usernames to be set in a group existed.This change affected live this specific live kamaki test that usedto test the set_account_group operation with fake user ids....
Add utf-8 params/headers checks in perform_request
Finetest _retrieve_connection_info
@ clients.connection.kamakicon.KamakiHTTPConnection
Merge branch 'develop' into feature-tests
Explicetely set http connection poolsize
Conflicts:
version
Unittest http response pool lock handling
Release http conn. if error while getting response
Fixes Bug #3370
kamaki/clients/connection/kamakicon.py version
Conflicts: kamaki/clients/connection/kamakicon.py
Encode non-ascii http headers
Use urllib quote + str.encode('utf-8')
Conflicts: kamaki/clients/connection/__init__.py kamaki/clients/connection/kamakicon.py
Allow non-ascii paramters on path2url
Replace calls of the form unicode(v) to the equivalent" '%s' % v
Implement KamakiHTTPConnection unittests
Automatic test discovery for clients.connection
Rename HTTPConnection/Response classes
kamaki.clients.connection.HTTPConnection/Response abstract class are renamedto kamaki.clients.connection.KamakiConnection/Response to avoid confusion w.httplib.HTTPConnection/Response classes
Fix typo in KamakiHTTPResponse method
Fix some more pep8 issues, more later
Fix pep8 compliance issues everywhere
Minor adjustments + apply to image_cli <=register
Handle connection errors, allow special handling
Showcase: server_info catche/manage clienterror that wasa connection error
Track and log errors at connection and clients mod
Comments for better docs in Connection
kamakicon comments doc-friendly
Merge branch 'dionyziz' into develop
Conflicts: setup.py
Docs adjusted
Rename object pool library from pool to objpool
Split pool into separate lib; remove snf-common deps
Propagate error handling corrections up to CLIs
Modernize clients and clients.connection error hdl
Error handling reform start from connection
Fix unresolved httplib request url - path issue
minor unitest fixes
Use standard threading instead of gevent/greenlets
gevent depedency is not needed after that
Make all source pep8 compliant
Remove forgoten debug print message
Propagate failed connection to server
Astakos: minor config bug, introduce unittesting
Remove relative imports from all pkgs, fix astakos
astakos imports an anused (and soon deprecated) module
Fix unicode on httplib bug
Unicode headers or url might apear as httplib requestAlthough httplib can usually handle the problem, it breaks whenthe body has been read from a binary file becauseunicode_str + binary produces a UnicodeDecodeErrorThus the url, headers, etc are forced to be simple strings
Voodo-fix mysterious header-destroying request bug
Fix safe headers/params bug, pithos download bug
Greenlet/thread safe header/param requests
Requests can now distinguish between "global" headers/paramsand thread-specific.
Implement kamakicon, use it
kamakicon: an httplib/ObjectPool based connection class
Pool connections
Requests also block if pool is full (used to be just forresponses)