[Catalyst] Re: [Semi OT] HTTP DELETEs
Jonathan Tweed
jonathan at tweed.name
Thu Aug 9 12:11:10 GMT 2007
On Wed, 8 Aug 2007 23:42:22 +0200, "A. Pagaltzis" <pagaltzis at gmx.de> wrote:
> * Jonathan Tweed <jonathan at tweed.name> [2007-08-08 21:35]:
>> Can an HTTP DELETE have an entity body? I have looked in the
>> HTTP spec and as far as I can see it doesn't say.
>
> 4.3 Message Body
>
> […] 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. […]
I saw this, but in the definitions of the methods themselves I couldn't see where this was explicitly specified.
>> If it's legal for a DELETE to have a body they could put the
>> reason in there. If not, is it a reasonable use of a custom
>> header?
>
> Yes.
We'll do that then.
Thanks
Jonathan
More information about the Catalyst
mailing list