Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CGI CPAN distribution.

Report information
The Basics
Id: 69958
Status: rejected
Priority: 0/
Queue: CGI

People
Owner: Nobody in particular
Requestors: ojoa [...] vwd.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Feature Request
Date: Tue, 02 Aug 2011 11:16:55 +0200
To: bug-CGI.pm [...] rt.cpan.org
From: Oliver Joa <ojoa [...] vwd.com>
Download (untitled) / with headers
text/plain 391b
Hi, it is more a Feature-Request than a Bug-Report. I want to make a DELETE Request and add a Body. When making a PUT/POST Request there is the posibility to get the Body bei POSTDATA or PUTDATA. What about DELETEDATA? I read in the RFC 2616 about HTTP/1.1 and didn't find anything which forbids it. So what do you think? Is it something you can add to the Code? Thanks a lot Oliver Joa
CC: undisclosed-recipients:;, Oliver Joa via RT <bug-cgi.pm [...] rt.cpan.org>
Subject: Re: [rt.cpan.org #69958] Feature Request
Date: Tue, 02 Aug 2011 08:32:14 -0400
To: bug-CGI.pm [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Download (untitled) / with headers
text/plain 510b
Show quoted text
> it is more a Feature-Request than a Bug-Report. I want to make a DELETE > Request and add a Body. When making a PUT/POST Request there is the > posibility to get the Body bei POSTDATA or PUTDATA. What about > DELETEDATA? I read in the RFC 2616 about HTTP/1.1 and didn't find > anything which forbids it. So what do you think? Is it something you can > add to the Code?
Oliver, Could you provide an example of how you would use this? Also, could you cite some other frameworks that provide this? Mark
Subject: Re: [rt.cpan.org #69958] Feature Request
Date: Tue, 02 Aug 2011 15:42:44 +0200
To: bug-CGI.pm [...] rt.cpan.org
From: Oliver Joa <ojoa [...] vwd.com>
Download (untitled) / with headers
text/plain 557b
Hi, On 02.08.2011 14:32, mark@summersault.com via RT wrote: [...] Show quoted text
> Could you provide an example of how you would use this? Also, could you > cite some other frameworks that provide this?
we need the request-body in the DELETE-method for building a sellOrder on a depot-management-system. This is an abstract function and we need full xml-objectData in the body to handle this workflow. In background there will we startet much more actions, so we could not only make a plain delete without further quote-, quantitydata and notes. [...] Thanks Olli
Subject: Re: [rt.cpan.org #69958] Feature Request
Date: Tue, 02 Aug 2011 09:48:46 -0400
To: bug-CGI.pm [...] rt.cpan.org
From: Mark Stosberg <mark [...] summersault.com>
Download (untitled) / with headers
text/plain 619b
Show quoted text
>> Could you provide an example of how you would use this? Also, could you >> cite some other frameworks that provide this?
> > we need the request-body in the DELETE-method for building > a sellOrder on a depot-management-system. > This is an abstract function and we need full xml-objectData > in the body to handle this workflow. In background there will we startet > much more actions, so we could not only make a plain delete > without further quote-, quantitydata and notes.
Thanks. And can you cite examples of other frameworks that provide this feature? (Direct documentation links are preferred). Mark
Download (untitled) / with headers
text/plain 240b
This issue has been copied to: https://github.com/leejo/CGI.pm/issues/87 please take all future correspondence there. This ticket will remain open but please do not reply here. This ticket will be closed when the github issue is dealt with.
Download (untitled) / with headers
text/plain 575b
Rejecting. I've had a look and, whilst trivial to add, it breaks backwards compatibility horribly as the DELETE support in CGI.pm currently allows url parameters in the query string. Moving them to be in the body will no doubt break code for lots of users. The nature of the request you are making ("building a sellOrder") sounds more like a PUT or a POST than a DELETE anyway. Since there is still no definitive spec on sending content with GET or DELETE and different frameworks are prone to do different things, ignoring the content in most cases, i'm leaving this as is.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.