Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 44801 invoked from network); 14 Apr 2005 21:50:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Apr 2005 21:50:02 -0000 Received: (qmail 23023 invoked by uid 500); 14 Apr 2005 21:49:53 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 22946 invoked by uid 500); 14 Apr 2005 21:49:53 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 22912 invoked by uid 99); 14 Apr 2005 21:49:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail2.bluewin.ch (HELO mail2.bluewin.ch) (195.186.4.73) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 14 Apr 2005 14:49:51 -0700 Received: from xbox.localdomain (62.203.194.56) by mail2.bluewin.ch (Bluewin 7.0.043) id 423AEC47002EA4B0; Thu, 14 Apr 2005 21:49:19 +0000 Received: from [192.168.0.2] (unknown [192.168.0.2]) by xbox.localdomain (Postfix) with ESMTP id B564FB6ECB; Thu, 14 Apr 2005 23:49:20 +0200 (CEST) Subject: Re: RequestEntity.getContentLength ? From: Oleg Kalnichevski To: HttpClient User Discussion Cc: robert In-Reply-To: <425D8E2A.7080600@collabraspace.com> References: <425A99EC.5080200@collabraspace.com> <1113426825.5298.11.camel@localhost.localdomain> <425D8E2A.7080600@collabraspace.com> Content-Type: text/plain Date: Thu, 14 Apr 2005 23:49:14 +0200 Message-Id: <1113515354.6804.5.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-2) Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Robert, You can monitor this bug report to keep track of the progress in resolving the issue that you have reported http://issues.apache.org/bugzilla/show_bug.cgi?id=34459 You can expect a patch by the end of the week Cheers, Oleg On Wed, 2005-04-13 at 17:24 -0400, robert wrote: > Oleg, > > Thank you for the clarification. I'll use -1 instead of > > EntityEnclosingMethod.CONTENT_LENGTH_CHUNKED > > for now. I just hate to see deprecation warnings in the code if > it can be helped :) > > Rob > > Oleg Kalnichevski wrote: > > >Hi Robert, > > > >Javadocs are indeed inconsistent. I'll review the code and make sure > >that the javadocs correctly reflect the implementation > > > >Thanks for pointing out the problem > > > >Oleg > > > >RequestEntity.getContentLength should return a non-negative number if > >the content length is known and a negative when it is not. In the latter > >case HttpClient will have to buffer > > > > > > > > > > CollabraSpace - Revolutionary Collaboration > Visit us at http://www.collabraspace.com > This message has been scanned for viruses by > ClamAV v0.83 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org