2009/8/13 alx <a.simm...@googlemail.com>:
>
> Hi Andrea,
>
> not sure if it is allowed to send a payload with the DELETE method,
> cause the RFC doesn't provide any information.
>

RFC2616 HTTP 1.1 section 4.3 states that "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."[1]

The only request methods that mention enclosing an entity within the
request are PUT and POST.

So as DELETE, and everything else but PUT and POST, do _not_ mention
inclusion of an entity in the request, it is safe to interpret this as
meaning that PUT and POST are the only methods that allow an
entity-body.

[1] <http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.3>

Regards,

Nick.
-- 
Nick Fitzsimons
http://www.nickfitz.co.uk/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to