Commit Graph

11 Commits

Author SHA1 Message Date
OpenStack Proposal Bot 61e4ebaa80 Updated from global requirements
Change-Id: I6dc3b647b806b863418d4894f9abe535b3d40ac2
2014-09-13 07:27:57 +00:00
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
Longgeek eca5fc22ca Add the six module dependency
Change-Id: Ie57c4e8bad2934acb5217a88713099374c20dde9
Closes-Bug: #1333872
2014-06-25 09:17:45 +00:00
OpenStack Proposal Bot 938031ad52 Updated from global requirements
Change-Id: I3f2a517c6a02285c804adcee95cb66f1f6502744
2014-06-19 01:12:29 +00:00
OpenStack Proposal Bot b68d13bf83 Updated from global requirements
Change-Id: Ied7b0c3e2b0fc13abb04c859ec6887d7a8533c15
2014-04-30 02:46:18 +00:00
OpenStack Jenkins c18536eacb Updated from global requirements
Change-Id: Ifb298bbb37a94e1d4f5e537b7f4eb086da4c95a9
2014-03-05 19:29:33 +00:00
OpenStack Jenkins c1563a75e4 Updated from global requirements
Change-Id: Icb2526c2b9f300430b1a2b84189a0a3646bca627
2013-12-10 22:21:31 +00:00
Dirk Mueller b34cc13e8a Readd missing Babel dependency after merge from Oslo(master/bdda833)
The gettextutils now require Babel.

Change-Id: I2c3c443eff63a1adc727b9f65a755a3977c85a90
2013-11-26 13:34:49 +01:00
Monty Taylor 1f2eef510f Updated from global requirements
Change-Id: I2e2bd3a38458e1307bcc0410da74dc76c0a5987a
2013-08-10 10:49:11 -07:00
Sean Dague 29270bb853 uncap python-keystoneclient version requirement
if any of the projects specify a capped client, it has the
potential for preventing that client from being tested in the
gate. To fix this we have to uncap maximum versions of all
openstack client code in all openstack projects.

Fixes bug #1200214

Change-Id: I664d2f030972a3bbb08ae1c4b1710816b54b44b2
2013-07-12 19:53:46 -04:00
Zhenguo Niu 40460cbeb1 Rename requires files to standard names.
Rename tools/pip-requires to requirements.txt and tools/test-requires
to test-requirements.txt. These are standard files, and tools in the
general world are growing intelligence about them.

Change-Id: Ic220b54de5ce7c15f442b8ffcb97cd03c2344f9a
Fixes: bug #1179008
2013-05-29 17:26:33 +08:00