Sok Ann Yap wrote:
I noticed that since version 0.9.3, PUT's params will be put into
request.POST by WebOb. So, I wonder if DELETE will be threated the
same?
No. I was reluctant to allow this for PUT, but definitely am against it
for any other HTTP methods.
My use case:
W liście Sok Ann Yap z dnia sobota 18 października 2008:
I must admit it's tricky to tell from the specification - I've read it
again...
The spec says request must not contain message body if method definition
says it must not contain it... But no method definition (even for GET)
says
On Sat, Oct 18, 2008 at 1:52 PM, Wichert Akkerman [EMAIL PROTECTED] wrote:
Previously Sok Ann Yap wrote:
On the other hand, if we look into httplib2's source code, which I
supposed is everyone's favorite http client library, Joe Gregorio
doesn't make any distinction between POST and DELETE.
I noticed that since version 0.9.3, PUT's params will be put into
request.POST by WebOb. So, I wonder if DELETE will be threated the
same?
My use case:
pylons.decorators.secure.authenticate_form only check for
request.POST. I have a secure_form with method='delete' and want to
test it, but there
W liście Sok Ann Yap z dnia piątek 17 października 2008:
I noticed that since version 0.9.3, PUT's params will be put into
request.POST by WebOb. So, I wonder if DELETE will be threated the
same?
But DELETE does not have request body, unlike POST and PUT. That wouldn't
really make much sense
On Fri, Oct 17, 2008 at 3:37 AM, Sok Ann Yap [EMAIL PROTECTED] wrote:
I noticed that since version 0.9.3, PUT's params will be put into
request.POST by WebOb. So, I wonder if DELETE will be threated the
same?
One thing WebOb doesn't do is to delete the '_method' param. I would
have expected
I must admit it's tricky to tell from the specification - I've read it
again...
The spec says request must not contain message body if method definition says
it must not contain it... But no method definition (even for GET) says so.
PUT and POST refer to section 8.2 about message
Previously Sok Ann Yap wrote:
On the other hand, if we look into httplib2's source code, which I
supposed is everyone's favorite http client library, Joe Gregorio
doesn't make any distinction between POST and DELETE. You can verify
that by using httplib2 to send a DELETE request with body to