Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use PATCH instead of PUT for v2 image modification
With the previous partial put syntax in the v2 api, it was not possible to delete image properties. This patch provides a more expressive syntax in the form of the HTTP PATCH verb. This implementation depends on the `application/openstack-images-v2.0-json-patch` content-type which is intended to be a compatible subset of application/json-patch. Addresses bug 1039821. Change-Id: I510ab397f9b8b5bd1deec0fb25855e305e7ec86e
- Loading branch information
Showing
4 changed files
with
630 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.