Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ari/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,8 @@ def promote(client, resp, operation_json):
return factory(client, resp_json)
if resp.status_code == requests.codes.no_content:
return None
if response_class == 'binary':
return resp.content
log.info("No mapping for %s; returning JSON" % response_class)
return resp.json()

Expand Down