<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 4, 2014, at 10:41 AM, Chuck Thier <<a href="mailto:cthier@gmail.com">cthier@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Howdy,<div><br></div><div>Now that swift has aligned with the other projects to use requests in python-swiftclient, we have lost a couple of features.</div><div><br></div><div>1. Requests doesn't support expect: 100-continue. This is very useful for services like swift or glance where you want to make sure a request can continue before you start uploading GBs of data (for example find out that you need to auth).</div>
<div><br></div><div>2. Requests doesn't play nicely with eventlet or other async frameworks [1]. I noticed this when suddenly swift-bench (which uses swiftclient) wasn't performing as well as before. This also means that, for example, if you are using keystone with swift, the auth requests to keystone will block the proxy server until they complete, which is also not desirable.</div></div></blockquote><div><br></div><div>requests should work fine if you used the event let monkey patch the socket module prior to import requests.</div><br><blockquote type="cite"><div dir="ltr">
<div><br></div><div>Does anyone know if these issues are being addressed, or begun working on them?</div><div><br></div><div>Thanks,</div><div><br></div><div>--</div><div>Chuck</div><div><br></div><div>[1] <a href="http://docs.python-requests.org/en/latest/user/advanced/#blocking-or-non-blocking">http://docs.python-requests.org/en/latest/user/advanced/#blocking-or-non-blocking</a><br>
</div></div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br><div>
<br>-----------------<br>Donald Stufft<br>PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA
</div>
<br></body></html>