> 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 transmission - DELETE does
> not, but that is quite vague.
>
>
> On the other hand, it seems to be common understanding that only PUT, POST,
> TRACE and potentially OPTION might contain body.
>
> See for example source of libwww (official library from W3C) here:
> http://www.w3.org/Library/src/HTMethod.c,
> or this information at IBM site (point 5):
> http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=/com.ibm.cics.ts31.doc/dfhtl/topics/dfhtl_outmaking_reqwrite.htm
>
>
> --
> Paweł Stradomski
>

If it's not even part of the specs, perhaps we shall threat that as a
common misunderstanding instead?

Actually, I am not sure if it can be classified as "common" either.
Firstly, libwww is some obscure library that nobody is using. It's not
installed on my gentoo system, and is a dependency for 5 packages only
(all right, lynx comes with it, so make that 6). Searching for
"HTMethod_hasEntity" yielded 13 results from google.

As for the second link, it is just one particular implementation for
some transaction server(?) running on IBM mainframe.

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 a simple
wsgi app that echoes back wsgi.input.

I am not convinced by your argument, Pawel.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to