Re: Restlet and Large PUT requests

2009-04-08 Thread Donald S Strong
Hi, I would look at Chunked Transfer as described in the HTTP spec. Does anyone know if Restlet supports this? Regards Donald. Stephan Koops

Re: Resource factories

2009-03-24 Thread Donald S Strong
Hi Tai, I had a look at your classes and I agree with the others; static variables are a bad idea. I suggest that you turn all these static methods into properties. Even if dependency injection is difficult (or impossible) to do with resources in the current Restlet architecture, it is still a be

Accept: application/json

2009-03-17 Thread Donald S Strong
Hi all, I want to set the "Accept" request header but I am frustrated in my attempts. When I try to set the headers in the request the HttpConverter informs me: Addition of the standard header "Accept" is not allowed. Please use the Restlet API instead. ... but I cannot find where in the

Re: Restlet 1.1.3

2009-03-02 Thread Donald S Strong
Thanks Thierry, I have that source but unfortunately it does not include the ant build script. The readme states that the souce is provided so that developers can associate class files with source files while debugging. I suspect that whatever builds the zip file only includes some file patterns

Re: Restlet 1.1.3

2009-02-26 Thread Donald S Strong
Hi Thierry, Is it possible to make a download of Restlet 1.1.3 available that includes all the source code? I have been unable to connect to the SVN site from work. I cannot (or don't know how to) set up a proxy for the svn client we are using. I would like the source because we are using a backpo

Re: PUT weirdness

2009-02-10 Thread Donald S Strong
ot;: " How helpful of it. Regards Donald. Donald S Strong

PUT weirdness

2009-02-10 Thread Donald S Strong
Hi all, We are trying to PUT a JSON representation from an Ajax client to a restlet web service. The entity body that we recieve on the server has a appended to it. Anyone know why are we getting the null? Regards Donald. This is being submitted by the Ajax client. PUT Request Headers Host:

Re: Returning data after PUT/POST

2009-01-20 Thread Donald S Strong
Hi Jean-Philippe, > If I want to add a resource named car I perform a PUT on a url like http://localhost/myapp/car/ instead of http://localhost/myapp/car/15. I agree with Rhett, use POST and then GET. POST http://localhost/myapp/car creates the car object with a new ID and redirects to the URI