Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 1182 invoked from network); 10 Apr 2008 18:48:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Apr 2008 18:48:03 -0000 Received: (qmail 80593 invoked by uid 500); 10 Apr 2008 18:48:03 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 80573 invoked by uid 500); 10 Apr 2008 18:48:03 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 80564 invoked by uid 99); 10 Apr 2008 18:48:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2008 11:48:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [217.150.250.44] (HELO ok2consulting.nine.ch) (217.150.250.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Apr 2008 18:47:20 +0000 Received: by ok2consulting.nine.ch (Postfix, from userid 1002) id C3ED51980A1; Thu, 10 Apr 2008 20:47:29 +0200 (CEST) Received: from [192.168.1.102] (84-75-108-49.dclient.hispeed.ch [84.75.108.49]) by ok2consulting.nine.ch (Postfix) with ESMTP id 68AC319809F for ; Thu, 10 Apr 2008 20:47:29 +0200 (CEST) Subject: Re: Bug in Part.java? From: Oleg Kalnichevski To: HttpComponents Project In-Reply-To: <47FE4D5E.3030606@web.de> References: <47F90B5E.3020800@web.de> <1207654132.10366.15.camel@ubuntu> <47FD1A1A.1090702@web.de> <1207772510.5736.7.camel@ubuntu> <47FE4D5E.3030606@web.de> Content-Type: text/plain Date: Thu, 10 Apr 2008 20:47:24 +0200 Message-Id: <1207853244.7817.9.camel@ubuntu> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on ok2consulting.nine.ch X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=ham version=3.0.3 On Thu, 2008-04-10 at 19:24 +0200, Nicolas wrote: > Hi Oleg, > > Sorry for my rude answer. Nicolas, there was nothing rude about it. It was all okay. However, HttpClient is _not_ a browser, and therefore I do not find very arguments like 'this works with a browser but does not work with HttpClient' very convincing. Common browser applications tend be optimized for compatibility with all sorts of broken CGI scripts out there, very often at the expense of standards compliance. According to my interpretation of the MIME specification both CRLF are required. You are very welcome to double-check HttpClient code for compliance with the MIME spec. Oleg > I didn't mean to offend anyone. Probably my > low english skills led to some understanding. > I just wanted to tell you about the problem I had because I thought it > could have been a bug; if you think its correct like it is now, this is > fine for me. > It's just strange that it is actually working when using plain html > forms to post the files... > > Greetings, > Nicolas > > Oleg Kalnichevski wrote: > > On Wed, 2008-04-09 at 21:33 +0200, Nicolas wrote: > > > >> Hi Oleg, > >> > >> I don't think that it is a problem with the server side script as it > >> actually works when uploading binary files by using a web browser > >> interface... > >> > > > > Hi Nicolas > > > > You are very welcome to disagree. > > > > > > > >> so it's strange that it works when using a browser. The html > >> code for the file input is the following: > >>
>> method="post" enctype="multipart/form-data" name="upload_file"> > >> > >> > >>