Hi Chuck, The more I think about it, the less appropriate it seems to be to use the Restlet API for that, at least in the current 1.0 API. I would be interested to understand what would the API bring for a proxy? Are you looking at leveraging the routing and filtering mechanisms?
However, it seems possible to implement a proxy by working at the lower HTTP connector API level: http://www.restlet.org/documentation/1.0/nre/com/noelios/restlet/http/packag e-summary.html I've updated the RFE to mention that: http://restlet.tigris.org/issues/show_bug.cgi?id=207 Best regards, Jerome > -----Message d'origine----- > De : Chuck Hinson [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 27 avril 2007 15:12 > À : [email protected] > Objet : RE: RE: Proxy server > > We're attempting to build a proxy-like application along the > lines of what it looks like the RFE might be addressing (a > true HTTP proxy, not a reverse proxy). > > I was mainly wondering if someone else had tried and had > discovered some fundamental drawback that would make it > impossible. It turns out that, at least for non-SSL traffic, > Restlets can be used as a crude proxy mechanism - I built one > in less than 100 lines of code, but it doesnt process HTTP > headers so it wouldn't be useful in a production environment. > There remains the question, however, of whether it's even > appropriate to use Restlets as an HTTP proxy (especially > because I don't think it would work well with TLS-tunneling > via CONNECT). > > > --Chuck > > -----Original Message----- > From: Jerome Louvel [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 1:41 AM > To: [email protected] > Subject: RE: Proxy server > > > Hi Chuck, > > There is a reverse proxy available via the Redirector class: > http://www.restlet.org/documentation/1.0/api/org/restlet/Redir > ector.html > > This is not however a true HTTP proxy if this is what you are > looking for. > There is a RFE for this: > http://restlet.tigris.org/issues/show_bug.cgi?id=207 > > I'm not sure I understand what do you mean by "I'm looking > for anything that would rule out using Restlets". Are you > worried about the lack of some specific features? Could you > give more details? > > Best regards, > Jerome > > > -----Message d'origine----- > > De : Chuck Hinson [mailto:[EMAIL PROTECTED] Envoyé : > jeudi 26 > > avril 2007 17:42 À : [email protected] Objet : Proxy server > > > > Does anyone have any experience using Restlets as the basis > for a HTTP > > proxy? I'm looking for anything that would rule out using Restlets. > > > > > > --Chuck > > > > ------------------------------------ > > Chuck Hinson > > Gestalt LLC > > phone: 610.994.2833 > > IM: chucking24 (Yahoo) > >

