Kevin, thanks for the info! I agree with you. RFC is the authority. use
payload in the DELETE isn't good way.
2014-12-09 7:58 GMT+08:00 Kevin L. Mitchell :
> On Tue, 2014-12-09 at 07:38 +0800, Alex Xu wrote:
> > Not sure all, nova is limited
> > at
> https://github.com/openstack/nova/blob/master/
On Tue, 2014-12-09 at 07:38 +0800, Alex Xu wrote:
> Not sure all, nova is limited
> at
> https://github.com/openstack/nova/blob/master/nova/api/openstack/wsgi.py#L79
> That under our control.
It is, but the client frameworks aren't, and some of them prohibit
sending a body with a DELETE request.
Not sure all, nova is limited at
https://github.com/openstack/nova/blob/master/nova/api/openstack/wsgi.py#L79
That under our control.
Maybe not just ask question for delete, also for other method.
2014-12-09 1:11 GMT+08:00 Kevin L. Mitchell :
> On Mon, 2014-12-08 at 14:07 +0800, Eli Qiao wrote:
On Mon, 2014-12-08 at 14:07 +0800, Eli Qiao wrote:
> I wonder if we can use body in delete, currently , there isn't any
> case used in v2/v3 api.
No, many frameworks raise an error if you try to include a body with a
DELETE request.
--
Kevin L. Mitchell
Rackspace
__
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC
From: Eli Qiao
To: "OpenStack Development Mailing List (not for usage questions)"
Date: 12/08/2014 02:10 PM
Subject: Re: [openstack-dev] [api] Using query string
在 2014年12月08日 13:13, Alex Xu 写道:
Hi,
I have question about using query string or request body for REST API.
I wonder if we can use body in delete, currently , there isn't any case
used in v2/v3 api.
This question found when I review this spec:
https://review.openstack.org/#/c/131633/6..7/spe