Re: PUT requires an entity

2008-05-08 Thread Rhett Sutphin

Hi Jim,

On May 8, 2008, at 11:22 PM, Jim Alateras wrote:

I've noticed that if i do a PUT to a resource with an empty entity I  
get a BAD_REQUEST status code. Is it part of the HTTP spec that the  
PUT must contain a non-null entity.


We had a discussion of this a few months back.  The conclusion was  
that the spec might be a little vague, but most implementations  
consider this an error.  Here's the thread:


http://restlet.tigris.org/servlets/ReadMsg?listName=discuss&msgNo=3902

Rhett


PUT requires an entity

2008-05-08 Thread Jim Alateras
I've noticed that if i do a PUT to a resource with an empty entity I  
get a BAD_REQUEST status code. Is it part of the HTTP spec that the  
PUT must contain a non-null entity.


cheers