Re: bug?

2009-07-05 Thread Schley Andrew Kutz
Great! I'm really looking forward to this and the OnError bit making it into a release. :) -- -a "Ideally, a code library must be immediately usable by naive developers, easily customized by more sophisticated developers, and readily extensible by experts." -- L. Stein On Jul 5, 2009, at

Re: bug?

2009-07-05 Thread Jerome Louvel
Hi Schley, FYI, this has been fixed in SVN trunk. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com Schley Andrew Kutz a écrit : > I want to prevent the use of HTTP VERB annotations in order to

RE: Issues loading css files (from a Directory) using Firefox

2009-07-05 Thread Jerome Louvel
Hi Bruce, That’s rather unexpected indeed. I’ve checked the text/css media type and it does support the charset parameter: http://tools.ietf.org/html/rfc2318 What seems wrong is the name of the character set. Looking at IANA registry, the proper name is either “macintosh” or “mac”, but not

RE: Passing a serialized Java object

2009-07-05 Thread Jerome Louvel
Hi Alfredo, If you have the exact same version of your TimelineDataForUpdate class available of both client and server sides, it should work. Could you send us a reproducible sample and the stack trace? BTW, if you can use the Restlet 2.0 in development, you will see ClientResource and ServerReso

RE: RangeFilter and redirects

2009-07-05 Thread Jerome Louvel
Hi David, Thanks for the report. I've fixed the redirection conflict in SVN trunk and 1.1 branch. Let us know if it works better now. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://www.noelios.com -Mess

RE: Re: Multiple content types

2009-07-05 Thread Jerome Louvel
Hi Sherif, Could you send us the trace of your HTTP request/response exchange including HTTP headers? I suscept that you "Accept" header might not be correct. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~ http://w

RE: Premature EOF / Broken Pipe

2009-07-05 Thread Jerome Louvel
Hi Timothy, Thanks for updating us. Let’s keep an eye on it and if you find a way to reproduce it, please let us know! Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co-founder ~

RE: Timeline for Restlet M4?

2009-07-05 Thread Jerome Louvel
Hi Lars, I would recommand starting with a recent 2.0 snapshot instead of 2.0 M3 if you plan to use the new resource API (ServerResource and ClientResource). We hope to have 2.0 M4 out of the door pretty soon now. We are mainly finalizing the edition port automation and will try to squash as ma

RE: Restlet trunk andd GWT issues...

2009-07-05 Thread Jerome Louvel
Hi Brian, Thanks. I've just fixed both issues in SVN trunk. Actually, we are in the middle of some deep build changes that will fully automate the port from the main Restlet source to various editions we now support (GWT, Android, GAE, etc.). I hope that the GWT API will stabilize around what

RE: Re: Mysterious message in client

2009-07-05 Thread Jerome Louvel
Hi there, On the server-side, you need to use representations that can compute their size in advance such as StringRepresentation and AppendableRepresentation. Again, those messages are just informational and should be filtered out using a proper "logging.properties" configuration file. Best re

RE: Nested resource routing

2009-07-05 Thread Jerome Louvel
Hi there, If you have just two levels of nesting for your branches, I suggest that you register additional attachments covering all cases. If you have potentially unlimited nesting, you need to handle this in your resource. In order to have your URI template match several URI path segments, you n

RE: Architecture question

2009-07-05 Thread Jerome Louvel
Hi Schley, Good feed-back, I've just added an onError(Throwable) method on UniformResource. It is invoked on error or exception in resource initialization, handling or releasing. Best regards, Jerome Louvel -- Restlet ~ Founder and Lead developer ~ http://www.restlet.org Noelios Technologies ~ Co

Passing a serialized Java object

2009-07-05 Thread AJ
Hi, I trying to pass a java object from client to the serve, as shown below: # CLIENT public Response setData(String resourceSegment, String queryString, Serializable object) throws Exception { Reference reference = new Reference(Protocol.HTTP, host, port);