Re: Using HttpClient with a proxy from an untrusted applet

2008-08-22 Thread Oleg Kalnichevski
Randall Scarberry wrote: Hello, I've been going in circles all day trying to use HttpClient in an untrusted applet to download data from the server through a proxy. Finally, I found a way to obtain the proxy information in the applet, but the information cannot be put to use without

Re: Final releases for HttpClient/HttpCore

2008-08-22 Thread Oleg Kalnichevski
Bill Higgins wrote: Do you have any sense of how safe or unsafe it would be to run production code with pre-final builds of HttpCore and HttpClient 4? I ask because my project is tentatively thinking we will also ship in 2Q 2009 and I worry that maybe I shouldn't depend on HttpCore / HttpClient

Unconnected sockets not implemented

2008-08-22 Thread talldean
Hopefully this is a less useless question than my last one. I have two projects using GetMethod. Both are connecting to the same https: website. One, however, is returning the following: java.net.SocketException: Unconnected sockets not implemented at

Re: Integrating HttpCore into the JEE/OSGi server environment

2008-08-22 Thread Bill Higgins
I've attached the OSGi-ified HttpCore JARs to the Jira bug (https://issues.apache.org/jira/browse/HTTPCORE-125) On Wed, Aug 20, 2008 at 11:49 AM, Oleg Kalnichevski [EMAIL PROTECTED] wrote: On Wed, 2008-08-20 at 11:31 -0400, Bill Higgins wrote: Code that requires the Equinox Servlet Bridge to

Units for connection timeouts?

2008-08-22 Thread Bill Higgins
The Javadoc for CoreConnectionPNames#CONNECTION_TIMEOUT does not state whether it expects seconds or milliseconds. I *think* it's milliseconds after having looked at some example code and the Javadoc for CoreConnectionPNames#SO_TIMEOUT. Can you confirm it's milliseconds? Also it would be helpful

Re: Integrating HttpCore into the JEE/OSGi server environment

2008-08-22 Thread Quintin Beukes
Hey Bill, All I know of OSGi is that it's part of the Eclipse SDK/API core, which is a fantastic system in it's own btw. Eitherway. If you don't mind, can you please elaborate on what exactly this system of your's is. Thanks. Q On Fri, Aug 22, 2008 at 3:36 PM, Bill Higgins [EMAIL PROTECTED]

Re: Using HttpClient with a proxy from an untrusted applet

2008-08-22 Thread Randall Scarberry
--- On Thu, 8/21/08, Oleg Kalnichevski [EMAIL PROTECTED] wrote: Randy, Please note the exception is thrown when opening a socket to 127.0.0.1:8081 and NOT when executing HTTP GET. You need to configure SocketPermissions for your applet accordingly. Oleg Thanks for the quick

Re: Using HttpClient with a proxy from an untrusted applet

2008-08-22 Thread Randall Scarberry
Randy, Please note the exception is thrown when opening a socket to 127.0.0.1:8081 and NOT when executing HTTP GET. You need to configure SocketPermissions for your applet accordingly. Oleg In my previous response I failed to mention that I'm using TCPMon as a proxy on localhost

Re: Surprising ProtocolException due to having already set Content-Length header

2008-08-22 Thread Bill Higgins
I'll reply to myself after thinking about it a bit. I forgot to mention that the original source of the HTTP requests is the servlet API where all headers are just headers. I wonder if HttpCore differentiates between message headers and entity headers and maybe that's what we need to do to correct

Aggregate javadoc on the site and Url Validator

2008-08-22 Thread Olivier Lamy
Hi, Is there any plan to published an aggregated javadoc [1] with the next release ? (currently it's hard to naviguate in all modules or I haven't found it :-) in the site ). Second question : is there class which can validate my url (as boolean validate(String url) ) ? And is there a class to