Add functionality to define requests without body
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
commit 9b430f99518e10a
Author: Niall Bunting <email address hidden>
Date: Tue Jul 28 15:05:10 2015 +0000
Add functionality to define requests without body
This allows functions that do not accept bodies to define this in the
router file. As currently many requests will cause a 500 if a body is
supplied when the API request does not expect it.
This currently only affects the core parts of the v2 api, that is,
calls to v2/images and v2/schemas. It does not cover the "tasks" API
or the metadefs api as I was keeping this patch concise. As this
does not affect the behaviour if not included this makes no change to
the metadefs api behaviour.
DocImpact
Partial-Bug: 1475647
Change-Id: Ieb510e55161280
Changed in openstack-manuals: | |
assignee: | nobody → Mark (rocky-asdf) |
no longer affects: | openstack-manuals |
affects: | openstack-api-site → glance |
tags: | added: api-ref |
For API-site, this change affects error response code(400).
see /review. openstack. org/#/c/ 207150/ 13/glance/ tests/functiona l/v2/test_ images. py
https:/