identity_headers are being ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance Client |
Fix Released
|
High
|
Flavio Percoco |
Bug Description
Change I09f70eee3e2777
- if self.identity_
- for k, v in six.iteritems(
- kwargs[
+ data = kwargs.pop("data", None)
+ if data is not None and not isinstance(data, six.string_types):
+ try:
+ data = json.dumps(data)
+ content_type = 'application/json'
+ except TypeError:
+ # Here we assume it's
+ # a file-like object
+ # and we'll chunk it
+ data = chunk_body(data)
Changed in python-glanceclient: | |
importance: | Undecided → High |
assignee: | nobody → Flavio Percoco (flaper87) |
Changed in python-glanceclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/136326
Review: https:/