Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 87666 invoked from network); 15 Dec 2004 23:00:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Dec 2004 23:00:13 -0000 Received: (qmail 42999 invoked by uid 500); 15 Dec 2004 23:00:13 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 42982 invoked by uid 500); 15 Dec 2004 23:00:13 -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 42966 invoked by uid 99); 15 Dec 2004 23:00:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ilyak@mainsoft.com designates 213.31.213.13 as permitted sender) Received: from mail2.il.mainsoft.com (HELO mail2.il.mainsoft.com) (213.31.213.13) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Dec 2004 14:58:04 -0800 Received: from [172.17.1.92] (ilya-xp.il.mainsoft.com [172.17.1.92]) by mail2.il.mainsoft.com (8.12.10/8.12.10) with ESMTP id iBFMvRTX018950 for ; Thu, 16 Dec 2004 00:57:27 +0200 Message-ID: <41C0C156.1020806@mainsoft.com> Date: Thu, 16 Dec 2004 00:57:26 +0200 From: Ilya Kharmatsky User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: HttpClient User Discussion Subject: write buffering Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, All! I'm writing some layer above the http client. I need to provide to user following functionality: 1. Handle automatically all redirects / failures. 2. Be able to buffer in memory the request (in post, put methods) 3. Max number of redirections. As I can understand from the code (I'm using version 3.0 beta1), if I won't set the content length, the request will be buffered, but I'll loose automatic redirections / failures handling. Am I right? What is a workaround? Max number of redirections - is http client supports this? I cannot find it. The circular references will (by default parameters) throw Exception, but if there is no such and still I wish to limit the number of redirections? Thanks, Ilya Kharmatsky. --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org