From: Michael B. <mic...@gm...> - 2009-11-23 19:52:04
|
That was the answer i was expecting, however i don't find that in the spec. So if someone can point me to it... Note that section 9.7 [1] does not mention a request entity. While for example 9.8 mentions: A TRACE request MUST NOT include an entity. And section 4.3 [2] says: A message-body MUST NOT be included in a request if the specification of the request method (section 5.1.1) does not allow sending an entity-body in requests. If it is indeed not allowed, should resteasy not report on error on deploying a resource with a delete method with body? And also for the client framework when creating a proxy. Michael [1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.7 [2] http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3 On Mon, Nov 16, 2009 at 7:18 PM, Lincoln Baxter, III <lin...@gm...> wrote: > The HTTP delete method does not support a message body. Only put and post. > > Lincoln Baxter III > http://ocpsoft.com > http://scrumshark.com > Keep it simple. > > On Nov 16, 2009 1:00 PM, "Michael Brackx" > <mic...@gm...> wrote: > > What i meant was a http delete request with a body. > (It is probably frowned upon to even try) > > @DELETE > public void delete(final String body); > > Michael > > On Tue, Nov 10, 2009 at 7:00 PM, Bill Burke <bb...@re...> wrote: > You > mean the proxy framewo... |