I have a web app that accepts uploaded files.  We are using Restlet 1.1.3.  

If I try to upload a file with 0 bytes I get an error message: "Missing
request entity"

http://www.mail-archive.com/[email protected]/msg03579.html 

I don't agree with the conclusion here.  Uploading a 0 byte file should be
acceptable, and in some cases needed for applications.

When thinking about a PUT containing a message (json, xml, ect) then a PUT
should not be empty, I could agree with that.  In the case of file upload,
it represents the entity being empty, not missing.


-- 
View this message in context: 
http://n2.nabble.com/Upload-a-zero-byte-file-tp3511268p3511268.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2387222

Reply via email to