Re: PUT method without body entity

2008-09-11 Thread Thierry Boileau
Mail sent on the 08/22 and apparently lost. -- Hello Vincent, this question comes back now and then (see [1] and [2]). The current conclusion is that, as some other implementations, it has been decided to forbid empty entities for PUT requests inside Restlet according to a strict interpretation

PUT method without body entity

2008-08-22 Thread Vincent Ricard
Hi, My application use the PUT methods to update some business objects, but some of these PUT methods do not expect an entity (the value is a string passed in the query string). RESTlet returns an HTTP 400 status. Is it a strict behavior required by the RFC? I expected the same behavior as the

Re: PUT method without body entity

2008-08-22 Thread Bruno Harbulot
Hi Vincent, We had this discussion a few month ago: http://thread.gmane.org/gmane.comp.web.services.rest/8046 In short, the conclusion was that a PUT without an entity wasn't allowed, but a PUT with a Content-Length: 0 entity was. Strictly speaking, the query string in the URI is part of