Comment 1 for bug 1011769

Revision history for this message
Joshua Colp (jcolp) wrote :

I've been unable to reproduce this issue using curl and have confirmed the code required to immediately return a response has been there for quite some time. After further examination using python-swiftclient and reading the httplib/httplib2 documentation I believe this is actually a limitation with those libraries. The complete request (including body) must be sent before the response can be retrieved. This is because the act of getting the response blocks waiting for the response itself. Under normal circumstances you won't get a response until the end of your upload, so attempting to get the response before sending the data itself causes things to wait indefinitely.