W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Issue: request bodies

From: Mark Nottingham <mnot@yahoo-inc.com>
Date: Fri, 21 Apr 2006 09:33:29 -0700
Message-Id: <B6C75AAD-4B99-42B0-BFB9-73AB3EC33552@yahoo-inc.com>
To: "Web APIs WG (public)" <public-webapi@w3.org>

[ from the big comment e-mail; raising as a separate issue, as  
requested ]

The current draft says that:
"If the method is POST or PUT, then the data passed to the send()  
method must be used for the entity body."

This doesn't account for other request methods that may have a  
request body, e.g., PROPPATCH.  Suggested text:

"Any data passed to the send() method MUST be used in the entity  
body. If data is passed to send() when it is known to be incorrect  
(e.g., in GET, HEAD, and DELETE requests), implementations MUST raise  
an error."

Mark Nottingham
Received on Friday, 21 April 2006 16:34:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC