Glance Client should use "Expect: 100-continue" header during upload.

Registered by Sridevi Koushik

During upload, if the Auth token is expired, the glance client
unnecessarily uploads the chunks and fails at the end.
Instead, we could have a fail fast mechanism using the
100-continue handshake. Only if the client receives a 100 continue
from glance, it should continue uploading the chunks.
Otherwise, if a 401 is received, it should fetch a fresh auth
token and retry the request.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Approved
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Let's work to file this under python-glanceclient.

However, I think the blueprint makes a lot of sense. The way I'd like to see this go is to switch to python requests and use their 100-continue support. However, I cannot quite track down where they are with it.
-markwash

Again, this should probably be filed under python-glanceclient.
markwash wishlist 2014-03-07

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.