[openstack-dev] [nova][api] Allow passing body for more API methods

Duncan Thomas duncan.thomas at gmail.com
Mon May 11 16:05:02 UTC 2015


On 11 May 2015 at 18:53, Sean Dague <sean at dague.net> wrote:

> > I have worked with client frameworks which raise exceptions if you
> > attempt to pass a body using the DELETE method, and would presumably
> > also prohibit a body with GET and HEAD, so I'm -1 on this: we should
> > actively discourage service developers from requiring bodies on HTTP
> > methods that a client framework may prohibit sending bodies with.
>
> Agreed. Violating the HTTP spec is something that should be avoided.
>

There's nothing in the HTTP spec to prevent sending a body with a DELETE,
that's what it means above about being more RFC compliant - nothing in the
RFC prohibits this that I can spot, it's just a loose convention.
-- 
Duncan Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150511/b096558f/attachment.html>


More information about the OpenStack-dev mailing list