Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 26406 invoked from network); 26 Sep 2005 22:06:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2005 22:06:39 -0000 Received: (qmail 62488 invoked by uid 500); 26 Sep 2005 22:06:37 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 61572 invoked by uid 500); 26 Sep 2005 22:06:34 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 61559 invoked by uid 99); 26 Sep 2005 22:06:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 15:06:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of andy.kriger@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO zproxy.gmail.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Sep 2005 15:06:41 -0700 Received: by zproxy.gmail.com with SMTP id x3so753618nzd for ; Mon, 26 Sep 2005 15:06:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=S+MxVUtYL/CUCyQk9A/Uuxy4SHbtd09EYq2+Kc9QL5WtUZXU052eZFE3bFSzEi//4oMa0TWhhzPftah21Nh6L2UqL8RZRvmg033Oz7JN5q/rVht9hm0lIm0kmrEj0VUk6lDCd7Ltz/b6XslQrckLIc6n+he8Br1iEfAuV5xqzk4= Received: by 10.36.250.19 with SMTP id x19mr1840002nzh; Mon, 26 Sep 2005 15:06:12 -0700 (PDT) Received: by 10.36.148.15 with HTTP; Mon, 26 Sep 2005 15:06:12 -0700 (PDT) Message-ID: <207fa8f05092615066082de4f@mail.gmail.com> Date: Mon, 26 Sep 2005 18:06:12 -0400 From: Andy Kriger Reply-To: Andy Kriger To: commons-user@jakarta.apache.org Subject: [httpclient] controlling the output? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I'm submitting a multipart form post and the server is rejecting it (because of "corrupt form data"). Not sure what that means but I'm trying to get the output from httpclient to look exactly like some output that I know works (generated with Firefox, the actual form and the LiveHTTPHeaders plugin). One thing I see in the httpclient logs is that each part has a Content-Type and Content-Transfer-Encoding (which the Firefox output does not). I'd like to suppress these from being sent - is there a way I can do this? If not, can anyone suggest where I'd start in the source code to do this (just a quick and dirty solution - if that ends up working, I'll try to come up with something flexible that can be rolled into the project). thx andy --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org