Re: Getting exception: Unbuffered entity enclosing request can not be repeated

2004-07-13 Thread Michael Becke
Hello Jen, Another way to handle this problem is to use the "expect 100 continue" feature of HTTP. This feature is disabled in HttpClient by default, as only a few servers support it correctly. You can re-enable it by calling setUseExpectHeader(true) on the post method. Mike On Jul 13, 2004,

Re: Getting exception: Unbuffered entity enclosing request can not be repeated

2004-07-13 Thread Jennifer Ward
Yes, setting CONTENT_LENGTH_AUTO does buffer the content. However, in doing this I realized it's not really the best solution since the content will get sent twice (although, it gets ignored the first time). So, it's not efficient. In retrospect what I really want to do is establish the connect

Re: Invalid RSA modulus size

2004-07-13 Thread Tim Wild
Oleg, You wouldn't happen to know if this is a bug that's been reported on the bug parade would you? I've looked through the bug parade and the JDK1.5 release notes with no luck. It'd be very helpful to be able to quote a bug number to my project manager about why we can't use certificates from

Re: Getting exception: Unbuffered entity enclosing request can not be repeated

2004-07-13 Thread Michael Becke
Yes, HttpClient will buffer the content if you use CONTENT_LENGTH_AUTO. Mike On Jul 13, 2004, at 3:20 AM, Ingo Brunberg wrote: The problem is that you are using chunked transfer encoding. This prevents Httpclient to automatically buffer the content in memory and the InputStream can only be read onc

DO NOT REPLY [Bug 29636] - Setting different MAX_HOST_CONNECTION values per host using a single MultiThreadedHttpConnectionManager

2004-07-13 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: HttpClient Powered

2004-07-13 Thread Oleg Kalnichevski
Added to the 'HttpClient Powered' list of applications: * Laszlo Presentation Server * Celware WebRecorder * Thin Client GUI Builder On Mon, 2004-07-12 at 19:16, [EMAIL PROTECTED] wrote: > TCBuilder: Thin Client GUI Builder > > TCBuilder is a GUI development framework based on Eclipse platform

Re: Getting exception: Unbuffered entity enclosing request can not be repeated

2004-07-13 Thread Oleg Kalnichevski
Jennifer, I just recently had to respond to a very similar question. http://marc.theaimsgroup.com/?l=httpclient-commons-dev&m=108940676906963&w=2 To recap, whenever request body is streamed out (read directly from an input stream) the request cannot be _automatically_ repeated. There are three

Re: Getting exception: Unbuffered entity enclosing request can not be repeated

2004-07-13 Thread Jennifer Ward
Thanks for the reply. Unfortunately, I tried setting the Content-Length header (no chunked transfer encoding), but that didn't work either. I would appreciate any other suggestions you may have. Sincerely, Jennifer Ward On Jul 13, 2004, at 12:20 AM, Ingo Brunberg wrote: The problem is that you ar

Re: Getting exception: Unbuffered entity enclosing request can not be repeated

2004-07-13 Thread Ingo Brunberg
The problem is that you are using chunked transfer encoding. This prevents Httpclient to automatically buffer the content in memory and the InputStream can only be read once. The workaround is simply to provide the exact content-length. Ingo > Hi, > > I wonder if anyone could offer a suggestion