FYI, a related issue has been entered by Avi :
“When a POST request has no request entity, isEntityAvailable() returns true” http://restlet.tigris.org/issues/show_bug.cgi?id=869 Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ <http://www.restlet.org/> http://www.restlet.org Noelios Technologies ~ Co-founder ~ <http://www.noelios.com/> http://www.noelios.com De : Avi Flax [mailto:[email protected]] Envoyé : mardi 4 août 2009 21:54 À : [email protected] Objet : Re: Checking for Request Entity On Tue, Jul 28, 2009 at 05:34, <[email protected]> wrote: Dont know why getRequest().isEntityAvailable() returns true, however getRequest().getEntity().getMediaType() return null if the request entity is missing. OK, thanks, that's helpful. I'd still like to understand the behavior though. Can anyone help? ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2384285

