://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com/
http://www.noelios.com
De : Avi Flax [mailto:a...@arc90.com]
Envoyé : mardi 4 août 2009 21:54
À : discuss@restlet.tigris.org
Objet : Re: Checking for Request Entity
On Tue, Jul 28, 2009 at 05:34, webp...@tigris.org
On Tue, Jul 28, 2009 at 05:34, webp...@tigris.org 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.
Dont know why getRequest().isEntityAvailable() returns true, however
getRequest().getEntity().getMediaType() return null if the request entity is
missing.
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2376246
Hi all, quick question:
I'm using Restlet 1.1.5 to write a quick API stub.
I want a resource to allow POST only, and to request that a request entity
be sent.
The thing that's odd is, when I use curl to test a request without an
entity, like so:
curl -v -X POST
4 matches
Mail list logo