[Catalyst] [Semi OT] HTTP DELETEs
Ash Berlin
ash_cpan at firemirror.com
Wed Aug 8 21:07:20 GMT 2007
Jonathan Tweed wrote:
> Hi
>
> Sorry if this is too off topic but I can't think of anywhere else to
> ask. Plus the system in question is a Catalyst app ;-)
>
> 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.
>
> The use case is when someone deletes a resource they want to be able to
> specify the reason why they deleted it. 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?
>
> Thanks
> Jonathan
>
As far as I am aware, _all_ HTTP requests can have bodies, with the
possible exception of GET...
ash
More information about the Catalyst
mailing list