Public bug reported: Tag PUT API returns null as response body because Neutron didn't expect non-body response with "201 Created" when updating.
$ curl -g -i -X PUT http://127.0.0.1:9696/v2.0/networks/19abee67-7444-49bd-8cb1-1d69930261e1/tags/black.json -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: d5b4a19842fc47ca859b769c19803412" HTTP/1.1 201 Created Content-Type: application/json; charset=UTF-8 Content-Length: 4 X-Openstack-Request-Id: req-a674a92a-c39e-4bce-b4be-29949caee400 Date: Fri, 11 Mar 2016 03:50:31 GMT null ** Affects: neutron Importance: Medium Assignee: Hirofumi Ichihara (ichihara-hirofumi) Status: New ** Tags: api ** Changed in: neutron Assignee: (unassigned) => Hirofumi Ichihara (ichihara-hirofumi) ** Changed in: neutron Importance: Undecided => Medium ** Tags added: api ** Changed in: neutron Milestone: None => mitaka-rc1 -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1555921 Title: Tag PUT API returns null Status in neutron: New Bug description: Tag PUT API returns null as response body because Neutron didn't expect non-body response with "201 Created" when updating. $ curl -g -i -X PUT http://127.0.0.1:9696/v2.0/networks/19abee67-7444-49bd-8cb1-1d69930261e1/tags/black.json -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: d5b4a19842fc47ca859b769c19803412" HTTP/1.1 201 Created Content-Type: application/json; charset=UTF-8 Content-Length: 4 X-Openstack-Request-Id: req-a674a92a-c39e-4bce-b4be-29949caee400 Date: Fri, 11 Mar 2016 03:50:31 GMT null To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1555921/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

