Rob, thank you for the thorough and informative answer! I really appreciate it.

The system properties approach for the Net connector will suffice for
me for now, but I really think this ought to be available via the
Client API. A method like void setUseProxy(String host, int port)
would make sense to me.

Thanks again!
Avi

On Thu, Jun 12, 2008 at 10:54 PM, Rob Heittman
<[EMAIL PROTECTED]> wrote:
>
> Thara S had an open question about this in another thread.  I think the
> answer is here:
>
> http://restlet.tigris.org/issues/show_bug.cgi?id=317
>
> For the Net connector you ought to be able to use the common idiom of
> setting the system properties http.proxyHost and http.proxyPort.
>
> This idiom does not work with the Apache HttpClient connector anyway.  Steve
> Loughran went to big lengths to fix this
> here: http://jira.smartfrog.org/jira/browse/SFOS-629 and he also contributed
> some ideas to the bug report.  I'd rather set properties on the client
> context, like configuring server properties, though ...
> If enough people think this is a big deal, I'm happy to propose a patch and
> see if Jerome's willing to bump it earlier.
> - R
> On Thu, Jun 12, 2008 at 6:55 PM, Avi Flax <[EMAIL PROTECTED]> wrote:
>>
>> Hi all, does anyone know of a way to have a Client use a proxy server
>> when making a request?
>
>

Reply via email to