[openstack-dev] [Openstack-dev][nova][swift]Use of 'httpplus' instead of 'httplib' in swift plugin to support 'Expect:100-continue' header

Amala Alungal amala.alungal at RACKSPACE.COM
Wed Nov 13 04:58:57 UTC 2013


This is in relation with the patch at https://review.openstack.org/#/c/55517/ which supports use of 'Expect: 100-Continue' header in swift client during a PUT request. This will help attain an interim response before actual upload of chunks, which will act as a fast fail in case of 401s pertaining to auth-token expiration in which case the token will have to be refetched and the request retried.

The concern here is that the 'httplib' library currently being used in the swift client does not provide support for this header. So the idea is to switch to, may be httpplus<https://code.google.com/p/httpplus/source/browse/httpplus/__init__.py#212> which seems to be handling this header adequately. Thoughts?

Thanks And Regards
Amala Basha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131113/33c79f69/attachment.html>

More information about the OpenStack-dev mailing list