Re: HTML with REST

2008-03-03 Thread John D. Mitchell
On Mon, Mar 3, 2008 at 6:00 PM, keke <[EMAIL PROTECTED]> wrote: [...] > > Another workable solution I have found -- if you are using XML and will get > > criticized for making up MIME types -- is to expose the browser-friendly > > HTML variant by itself on a distinct URI (e.g. person.html). That

Re: HTML with REST

2008-03-03 Thread keke
> Another workable solution I have found -- if you are using XML and will get > criticized for making up MIME types -- is to expose the browser-friendly > HTML variant by itself on a distinct URI (e.g. person.html). That's sloppy > too, just in a different way. I think this might be a better and

Re: 1.1-M2 maven dependency error for artifact 'com.noelios.restlet.ext.spring'

2008-03-03 Thread Todd Nguyen
Got the same error after upgrading to 1.1-M2 snapshot. Can someone from restlet team fix the build process so it generate the correct pom.xml files for Spring? Thanks Todd On Mon, Mar 3, 2008 at 6:10 AM, Peter Neubauer <[EMAIL PROTECTED]> wrote: > Rasmus Agerholm agerholm.org> writes: > > > > >

Re: Understanding Restlet's Threading Model?

2008-03-03 Thread Rob Heittman
The mapping of incoming network connections to threads is very dependent on the HTTP/HTTPS connector/server in use. Restlet, as far as I know, does not do anything to attenuate the native behavior of the server with regard to creating threads for incoming network connections. Which server environ

Re: HTML with REST

2008-03-03 Thread Stephan Koops
Hello, as discussed two weeks ago, some browsers (e.g. Internet Explorer 7.0 and Firefox 2.0) sends as accepted media type XML with a higher quality than HTML. The consequence is, that a HTTP server sends XML instead of HTML, if it could produce XML. For this problem I've created a Filter (nam

Understanding Restlet's Threading Model?

2008-03-03 Thread Aaron Crow
I'd like to understand the threading model used by my basic Restlet app. I have a standalone app that uses Application and Component, and attaches subclasses of Restlet to the router. I am using the reference implementation provided by noelios. (Many, many thanks to Jerome for all of this!) So

Re: 1.1-M2 maven dependency error for artifact 'com.noelios.restlet.ext.spring'

2008-03-03 Thread Peter Neubauer
Rasmus Agerholm agerholm.org> writes: > > HiThe pom file for the 'com.noelios.restlet.ext.spring' artifact found at the 'maven.restlet.org' repository, http://maven.restlet.org/com/noelios/restlet/com.noelios.restlet.ext.servlet/1.1-M2/com.noelios.restlet.ext.servlet-1.1-M2.pom > defines the 'co

RE: Issue 376

2008-03-03 Thread Jerome Louvel
Hi Bruno, Thanks for proposing to help on this front Bruno. I've reassigned the RFE to you. Note that in 1.1 M2, the Guard is automatically adding a Principal instance to the request attributes upon successful authentication. Best regards, Jerome > -Message d'origine- > De : news [ma

1.1-M2 maven dependency error for artifact 'com.noelios.restlet.ext.spring'

2008-03-03 Thread Rasmus Agerholm
Hi The pom file for the 'com.noelios.restlet.ext.spring' artifact found at the 'maven.restlet.org' repository, http://maven.restlet.org/com/noelios/restlet/com.noelios.restlet.ext.servlet/1.1-M2/com.noelios.restlet.ext.servlet-1.1-M2.pom defines the 'com.noelios.restlet.ext.servlet' dependency lik

Re: Problems extracting a POST request's entity

2008-03-03 Thread Sergio Saugar
Hi, Thanks Mitch and Bruno for your answers. Bruno, I was using Restlet 1.1M1 and the problem was the same that yours. The resolution of the POST method took a long time and the returned entity's value was null (either using getText() or using streams). I returned to Restlet 1.07 and no

Issue 376

2008-03-03 Thread Bruno Harbulot
Hello, I'm interested in trying to contribute to solve issue 376: http://restlet.tigris.org/issues/show_bug.cgi?id=376 There are in fact two sub-problems in this issue: (1) exposing javax.servlet.request.X509Certificate and (2) defining something that would provide the equivalent of javax.ser

Re: Restlet 1.1 M2 released

2008-03-03 Thread cleverpig
great! I translated it in Chinese:http://www.matrix.org.cn/resource/news/e2dda96c-e908-11dc-91da-b599c3ba16ef.html On Fri, Feb 29, 2008 at 11:29 PM, Jerome Louvel <[EMAIL PROTECTED]> wrote: > > Hi again! > > After two months of intense work we are finally releasing our next > milestone. In addi