Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 38739 invoked from network); 15 Sep 2002 20:07:09 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 15 Sep 2002 20:07:09 -0000 Received: (qmail 29990 invoked by uid 97); 15 Sep 2002 20:07:48 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 29956 invoked by uid 97); 15 Sep 2002 20:07:48 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 29944 invoked by uid 98); 15 Sep 2002 20:07:47 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: Sun, 15 Sep 2002 16:07:08 -0400 Message-Id: <200209152007.QAA05768@www23.ureach.com> To: commons-dev@jakarta.apache.org From: otisg Reply-to: Subject: [httpclient] max response size Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-vsuite-type: e X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I couldn't find this anywhere in the Javadocs, and I saw that some work with buffered/unbuffered responses was done lately, and this may be related, so here's my question: Is it possible to specify the max number of bytes to retrieve from a response? Consider the case where HttpClient can fall into a 'crawler trap', or simply encounter a response with no end. This would break an application using HttpClient. So I'm wondering if developers think that it would be good to have the ability to restrict the size of retrieved response to some number of bytes, built into HttpClient? Thanks, Otis ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag -- To unsubscribe, e-mail: For additional commands, e-mail: