Hi,
I just tried using Jetty and SSL with Restlet, which works fine so-far when
launching the run configuration from Eclipse. I exported everything including
all needed dependencies to a directory and created the correct config.ini.
When using plain HTTP, it works, but changing to HTTPS errors o
On Sat, Nov 27, 2010 at 1:39 PM, Tal Liron wrote:
> My personal style in documentation has always been to have a wiki page with
> a description of the URI space, organized by hierarchy, with notes for
> representation structures and HTTP verb support where appropriate.
>
I've been trying to follo
Ah, sorry, didn't read closely enough. Yes, it does seem like an
inappropriate response code.
--tim
On Mon, Nov 29, 2010 at 11:02 AM, wrote:
> Hi.
>
> I did actually put malformed json on pourpose.
>
> My point goa; to show if I send the right mime type (json) and malformed
> content, the retur
Hi.
I did actually put malformed json on pourpose.
My point goa; to show if I send the right mime type (json) and malformed
content, the return code should be 400 while in fact it is 415.
Thanks for your reply.
-teo
> You're using invalid JSON in the entity. Try something like -d
> '{"garbage"
You're using invalid JSON in the entity. Try something like -d
'{"garbage":1}' (single-quotes are delimiters for shell, double-quotes are
part of the content. Or maybe just -d '1' -- that should be a valid JSON
value, too.
It does seem a shame that JSON requires double-quotes around the keys, but
All,
We've started working on a better Restlet OSGi integration. We have the
ability to dynamically register applications and resources in an OSGi server
using and embedded web container like Jetty. With a little work, you should
also be able to run the code embedded in a web container like T
Hi.
I'm receiving an unexpected 415 when using restelt 2.1 with jackson. I've
started using restlet only recently, so I may well be the cause of the problem.
Case:
When posting valid content type but malformed body, I expect 400 "Bad Request".
Instead I'm receiving 415 "Unsupported Media Type".
Tim and Tal,
This was my first post to the list, and as you might have guessed I'm fairly
new to Restlet as well. The comments and suggestions from both of you are very
helpful, and I've spent most of the evening implementing them.
Thanks!
--
Hello,
Thank you for you help. I have changed the Restlet to j2se 2.0.0 and the
problem resolved. Thanks again.
Best regards,
SHIYU Gao
--
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2686364
9 matches
Mail list logo