Re: [openstack-dev] Issues with Python Requests

2014-04-04 Thread Donald Stufft
On Apr 4, 2014, at 10:41 AM, Chuck Thier cth...@gmail.com wrote: Howdy, Now that swift has aligned with the other projects to use requests in python-swiftclient, we have lost a couple of features. 1. Requests doesn't support expect: 100-continue. This is very useful for services

Re: [openstack-dev] Issues with Python Requests

2014-04-04 Thread Chuck Thier
On Fri, Apr 4, 2014 at 9:44 AM, Donald Stufft don...@stufft.io wrote: requests should work fine if you used the event let monkey patch the socket module prior to import requests. That's what I had hoped as well (and is what swift-bench did already), but it performs the same if I monkey patch

Re: [openstack-dev] Issues with Python Requests

2014-04-04 Thread Chuck Thier
I think I have worked out the performance issues with eventlet and Requests with most of it being that swiftclient needs to make use of requests.session to re-use connections, and there are likely other areas there that we can make improvements. Now on to expect: 100-continue support, has anyone

Re: [openstack-dev] Issues with Python Requests

2014-04-04 Thread Joshua Harlow
) openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org Date: Friday, April 4, 2014 at 11:50 AM To: OpenStack Development Mailing List openstack-dev@lists.openstack.orgmailto:openstack-dev@lists.openstack.org Subject: Re: [openstack-dev] Issues with Python Requests I think I have