RE: 405 on unsupported media type

2010-09-01 Thread Thierry Boileau
Hello, thansk Avi, I've completed the issue 1172 (http://restlet.tigris.org/issues/show_bug.cgi?id=1172). Best regards, Thierry Boileau -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2654055

405 on unsupported media type

2010-08-27 Thread Avi Flax
Hi all, I'm using 2.0 jse. I've got a method that has this signature: @Post(form) public Representation accept(Form form) throws ResourceException { Everything generally works fine, but when I send a request with an unsupported Content-Type — text/plain, say — the service returns 405 Method Not

Re: 405 on unsupported media type

2010-08-27 Thread Jonathan Hall
I believe that's a 415. Jon On 27/08/10 19:33, Avi Flax wrote: Hi all, I'm using 2.0 jse. I've got a method that has this signature: @Post(form) public Representation accept(Form form) throws ResourceException { Everything generally works fine, but when I send a request with an

Re: 405 on unsupported media type

2010-08-27 Thread Avi Flax
Ah, yes, definitely. My bad, thanks. On Fri, Aug 27, 2010 at 16:27, Jonathan Hall jonrh...@gmail.com wrote: I believe that's a  415. Jon On 27/08/10 19:33, Avi Flax wrote: Hi all, I'm using 2.0 jse. I've got a method that has this signature: @Post(form) public Representation