RE: Problem with Proxy Basic Authentication

2011-02-01 Thread Oleg Kalnichevski
On Mon, 2011-01-31 at 07:17 -0800, Pifagor wrote: Oleg Your advice needed: When I import browser proxy settings into HttpClient in applet using: DefaultHttpClient hc = new DefaultHttpClient(); ProxySelectorRoutePlanner routePlanner = new ProxySelectorRoutePlanner(

RE: Problem with Proxy Basic Authentication

2011-02-01 Thread Pifagor
olegk wrote: it turns out that the ProxySelectorRoutePlanner did not pick up proxy settings correctly. Oleg It correctly picks host and port but not username and password. Also JRE does not provide http.proxyUser or http.proxyPassword, even if you provide those while loading

RE: Problem with Proxy Basic Authentication

2011-02-01 Thread Oleg Kalnichevski
On Tue, 2011-02-01 at 05:19 -0800, Pifagor wrote: olegk wrote: it turns out that the ProxySelectorRoutePlanner did not pick up proxy settings correctly. Oleg It correctly picks host and port but not username and password. Also JRE does not provide http.proxyUser or

HTTP request using another method such as PATCH

2011-02-01 Thread Grzegorz Szpetkowski
Hi, According to HttpClient Tutorial (1.1.1. HTTP request) there is support for methods: GET, HEAD, POST, PUT, DELETE, TRACE and OPTIONS. How I can make request using PATCH (RFC 5789) method or CONNECT ? I choosed Apache HttpClient library because I throught it provides much more flexibility than

Re: OAuth support for HTTPCient

2011-02-01 Thread Moore, Jonathan
Hi Robert, Yes, sorry. The client is an instance of HttpClient (e.g. DefaultHttpClient). Cheers, Jon Jon Moore Comcast Interactive Media On 2/1/11 1:01 AM, Robert Stagner restag...@gmail.com wrote: Hi Jon, That is music to my ears! I assume that the client referred to in your

Re: HTTP request using another method such as PATCH

2011-02-01 Thread Oleg Kalnichevski
On Tue, 2011-02-01 at 15:30 +0100, Grzegorz Szpetkowski wrote: Hi, According to HttpClient Tutorial (1.1.1. HTTP request) there is support for methods: GET, HEAD, POST, PUT, DELETE, TRACE and OPTIONS. How I can make request using PATCH (RFC 5789) method or CONNECT ? You ought not execute