Comment 2 for bug 1298283

Revision history for this message
clayg (clay-gerrard) wrote :

I think an extra request in the put_object function is definitely the wrong approach. The top level functions are ment to be fairly thin wrappers around the direct REST API, retry and auth logic belongs in the Connection class.

Does a 401 on PUT somehow not result in a ClientException already? It definitely should.

I know the Connection classes retry method already handles reauth - but I'm guessing some how it's interaction is missed on segmented upload from the swift cli?