Return-Path: Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 51221 invoked from network); 21 Aug 2003 00:36:46 -0000 Received: from mxout3.cac.washington.edu (140.142.32.166) by daedalus.apache.org with SMTP; 21 Aug 2003 00:36:46 -0000 Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout3.cac.washington.edu (8.12.9+UW03.06/8.12.9+UW03.06) with ESMTP id h7L09XgG014514 for ; Wed, 20 Aug 2003 17:09:34 -0700 Received: from u.washington.edu (pool-151-203-32-12.bos.east.verizon.net [151.203.32.12]) (authenticated bits=0) by smtp.washington.edu (8.12.9+UW03.06/8.12.9+UW03.06) with ESMTP id h7L09VXZ031315 (version=TLSv1/SSLv3 cipher=DES-CBC3-SHA bits=168 verify=NOT) for ; Wed, 20 Aug 2003 17:09:33 -0700 Date: Wed, 20 Aug 2003 20:09:29 -0400 Subject: Re: newbie questions Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) From: Michael Becke To: "Commons HttpClient Project" Content-Transfer-Encoding: 7bit In-Reply-To: <3F43FE7F.7000806@sun.com> Message-Id: X-Mailer: Apple Mail (2.552) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Yue, Please see my responses below. On Wednesday, August 20, 2003, at 07:04 PM, Yue Luo wrote: > Hi, > I am new to httpclient. I have a few general questions about the > library and wonder if you could help me. > 1. HTTP 1.1 standard supports pipelining (RFC2616 section 8.1.2.2). > I > looked at HttpMethodBase.java. It seems that httpclient does not allow > pipelining. Is it true? Is pipelining used in any popular browsers? You are correct. HttpClient does not support pipelining. There is no current plan to add support for it. If it were to be added my guess is that it would not be until 3.0, when the request/response code is split into two separate pieces. I think this will be required for pipelining to work correctly. As far as support for pipelining in browsers/web servers I have no idea. This is a good question. I will look around to see if I can find anything. Please let us know if you make any discoveries as well. > 2. I did not see httpclient using java.nio package. So I guess that > it does not provide asynchronous API either. Is there any plan to take > advantage of the nio package and add asynchronous API? Yes, HttpClient is compatible down to JRE 1.2.2 and as such cannot use nio. There are no current plans to add pluggable nio support. > 3. The links to mailing lists on the page: > http://jakarta.apache.org/commons/httpclient/mail-lists.html > does not work. Will anyone put the correct link on the web? I assume you mean the mailing list archives. It seems that they are not working. Try . Mike