From the standard, when creating new VNF Package Resource, it should return a "201 Created" response containing a representation of the individual VNF package resource and a "Location" HTTP header that points to the new "individual VNF package" resource.
But now , the "Location" HTTP header is missing in the response.
operation log:
root@ubuntu:~# curl -i -X POST http://172.22.39.3:9890/vnfpkgm/v1/vnf_packages -H "Content-type: application/json" -H "X-Auth-Token:$OS_AUTH_TOKEN" -d '{}'
HTTP/1.1 201 Created
Content-Length: 363
Content-Type: application/json
X-Openstack-Request-Id: req-16c1488c-b752-486a-832c-aa9e5a922166
Date: Tue, 09 Feb 2021 03:22:50 GMT
{"usageState": "NOT_IN_USE", "operationalState": "DISABLED", "id": "754edc97-a5cb-4e8f-9dcf-1b3aece0125c", "onboardingState": "CREATED", "userDefinedData": {}, "_links": {"self": {"href": "/vnfpkgm/v1/vnf_packages/754edc97-a5cb-4e8f-9dcf-1b3aece0125c"}, "packageContent": {"href": "/vnfpkgm/v1/vnf_packages/754edc97-a5cb-4e8f-9dcf-1b3aece0125c/package_content"}}}root@ubuntu:~#
Any update?