commit | 31a054a5bbe5447b879512abfa3b7cb5fd41954b | [log] [tgz] |
---|---|---|
author | Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> | Thu Jun 02 20:37:13 2016 +0900 |
committer | Hirofumi Ichihara <ichihara.hirofumi@lab.ntt.co.jp> | Sat Aug 06 00:24:22 2016 +0900 |
tree | f4f3b8f11c3db7c50b51ce55e30b9d53c1bac36b | |
parent | 77ce374b9b97fcf6d79aff591fbf0b3f6b97216a [diff] |
Don't load non json body Some neutron POST APIs don't return response body, for instance, dhcp-agent-network-add and l3-agent-router-add. However, BaseNetworkClient passes all response body to json.loads. This patch add a check for response body. Change-Id: I7a4c565f9e067e1771bf6ec85c9c0486937a2cef Related-Bug: #1555921