python-glanceclient/tests
AmalaBasha dbb242b776 Replace old httpclient with requests
This review implements blueprint python-request and replaces the old
http client implementation in favor of a new one based on
python-requests.

Major changes:
* raw_request and json_request removed since everything is now being
  handled by the same method "_request"
* New methods that match HTTP's methods were added:
    - get
    - put
    - post
    - head
    - patch
    - delete
* Content-Type is now being "inferred" based on the data being sent:
    - if it is file-like object it chunks the request
    - if it is a python type not instance of basestring then it'll try
      to serialize it to json
    - Every other case will keep the incoming content-type and will send
      the data as is.
* Glanceclient's HTTPSConnection implementation will be used if
  no-compression flag is set to True.

Co-Author:  Flavio Percoco<flaper87@gmail.com>
Change-Id: I09f70eee3e2777f52ce040296015d41649c2586a
2014-07-10 13:22:05 +05:30
..
v1 Replace old httpclient with requests 2014-07-10 13:22:05 +05:30
v2 Replace old httpclient with requests 2014-07-10 13:22:05 +05:30
var SSL: Handle wildcards in Subject Alternative Names 2013-12-11 10:27:20 +01:00
__init__.py Basic testing 2012-04-02 14:08:03 -07:00
test_base.py Reuse class Manager from common code 2014-06-12 14:42:46 +03:00
test_exc.py Replace old httpclient with requests 2014-07-10 13:22:05 +05:30
test_http.py Replace old httpclient with requests 2014-07-10 13:22:05 +05:30
test_progressbar.py Fix the parameter order of assertEqual in glanceclient test 2014-02-25 16:18:19 +09:00
test_shell.py Replace old httpclient with requests 2014-07-10 13:22:05 +05:30
test_ssl.py Replace old httpclient with requests 2014-07-10 13:22:05 +05:30
test_utils.py Finalize Python3 support 2014-05-20 16:42:10 +02:00
utils.py Replace old httpclient with requests 2014-07-10 13:22:05 +05:30