About releaseconnection method of version 3.1

2008-05-23 Thread Laxmilal Menaria
Hello, We are using httpclient 3.1 library in our application and sending multiple request using Multiple threads. Releasing connection when the thread completes using httpmethod.releaseconnection() method. But we encountered that the releaseconnection() method doesn't release the connection.

Re: How to download .jar file? (I think that I read most of threads and googled alot..)

2008-05-23 Thread Oleg Kalnichevski
On Thu, 2008-05-22 at 21:46 -0700, JBRyu wrote: Hi, I have a problem with downloading a .jar file from a HTTP server. I'm now using httpclient-4.0-alpha4 and httpcore-4.0-beta1 libraries. I can download any .jar file using a http input stream, but the download .jar file is corrupted even if

Re: About releaseconnection method of version 3.1

2008-05-23 Thread Oleg Kalnichevski
On Fri, 2008-05-23 at 14:30 +0530, Laxmilal Menaria wrote: Hello, We are using httpclient 3.1 library in our application and sending multiple request using Multiple threads. Releasing connection when the thread completes using httpmethod.releaseconnection() method. But we encountered that

Re: How to download .jar file? (I think that I read most of threads and googled alot..)

2008-05-23 Thread JBRyu
Thank Oleg. I appreciate your quick response. I have tested your code, and it works fine. Based on your code, I found a problem in my code, that is, when I uploaded several jar files, some of jar files are corrupted already. So, I thought that this problem was caused by the downloading process

difference between request headers and request params

2008-05-23 Thread Dimitrios Christodoulakis
Hello, I am a new user of HTTPClient and trying to learn how to use it. I have read the relevant primer and user guide but I am not sure what is the difference between headers and parameters. Do they have the same functionality for GET and POST requests? I mean does the server processes and