Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 7107 invoked from network); 31 Oct 2007 15:43:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Oct 2007 15:43:20 -0000 Received: (qmail 13695 invoked by uid 500); 31 Oct 2007 15:43:07 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 13682 invoked by uid 500); 31 Oct 2007 15:43:07 -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 13671 invoked by uid 99); 31 Oct 2007 15:43:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 08:43:07 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [212.227.126.183] (HELO moutng.kundenserver.de) (212.227.126.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2007 15:43:10 +0000 Received: from pustefix158.kundenserver.de (pustefix158.kundenserver.de [172.23.4.158]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1InFiS4Asn-0006eq; Wed, 31 Oct 2007 16:42:49 +0100 Message-Id: <23131685.430071193845368973.JavaMail.servlet@kundenserver> From: ossfwot@dubioso.net To: Subject: RE: postmethod does not work MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 X-Binford: 6100 (more power) X-Mailer: Webmail X-Originating-From: 27019222 X-Routing: DE X-Message-Id: <27019222$1193845368911172.23.4.15814323503@pustefix158.kundenserver.de--1833934633> X-Received: from pustefix158.kundenserver.de by 149.229.88.125 with HTTP id 27019222 for [httpclient-user@jakarta.apache.org]; Wed, 31 Oct 2007 16:42:48 CET Date: Wed, 31 Oct 2007 16:42:48 +0100 X-Provags-ID: V01U2FsdGVkX19sMkJLE4/TEfxLgBhuknCgsvQVShdG6UNwva8 v8iYE9lw8g3OEb5rfs4krRdL2Pj5QROF0yCTyBdLFO6Ags0vX9 l9WgdE/M+yfjrwVM7Eytw== X-Virus-Checked: Checked by ClamAV on apache.org Hello Han, get a trace of the request your servlet is receiving from the browser. Then get a trace or wire log of the request you are sending. Compare the two and fix the notable differences. Order of headers is not relevant, and headers like Transfer-Encoding and Content-Length are controlled by HttpClient. What Content-type does the InputStreamRequestEntity use? Can you pass the content type in the constructor? The one you set manually might get overwritten. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org