Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 44627 invoked from network); 7 May 2006 19:59:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 May 2006 19:59:46 -0000 Received: (qmail 35012 invoked by uid 500); 7 May 2006 19:59:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 34641 invoked by uid 500); 7 May 2006 19:59:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 34620 invoked by uid 99); 7 May 2006 19:59:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 May 2006 12:59:33 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jak-tomcat-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 May 2006 12:59:32 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FcpPJ-0000Kc-8A for users@tomcat.apache.org; Sun, 07 May 2006 21:59:09 +0200 Received: from pool-71-107-250-211.lsanca.dsl-w.verizon.net ([71.107.250.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 May 2006 21:59:09 +0200 Received: from wbarker by pool-71-107-250-211.lsanca.dsl-w.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 07 May 2006 21:59:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@tomcat.apache.org From: "Bill Barker" Subject: Re: Invalid request? Date: Sun, 7 May 2006 12:59:05 -0700 Lines: 60 Message-ID: References: X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-107-250-211.lsanca.dsl-w.verizon.net X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Response Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You need to send either a Content-Length header or a Transfer-Encoding header on the request (actually, to comply with HTTP/1.0, you need Content-Length, but Tomcat accepts both). Otherwise, Tomcat correctly assumes that the Request body is empy. "Jochen Wiedmann" wrote in message news:e75283b10605071252y1940e65cw6df107d9fee1a661@mail.gmail.com... Hi, can anybody please be so kind and validate the following request. According to Tomcat, it is invalid somehow, because HttpServletRequest.getInputStream() always returns nothing. However, I am unable to determine a cause. Thanks, Jochen -- Whenever you find yourself on the side of the majority, it is time to pause and reflect. (Mark Twain) POST /XMLRPC-79/servlet/info HTTP/1.0 User-Agent: Apache XML RPC 3.0 (Lite HTTP Transport) Host: localhost:8080 Content-Type: text/xml Status.add339 00000000: 504f 5354 202f 584d 4c52 5043 2d37 392f POST /XMLRPC-79/ 00000010: 7365 7276 6c65 742f 696e 666f 2048 5454 servlet/info HTT 00000020: 502f 312e 300d 0a55 7365 722d 4167 656e P/1.0..User-Agen 00000030: 743a 2041 7061 6368 6520 584d 4c20 5250 t: Apache XML RP 00000040: 4320 332e 3020 284c 6974 6520 4854 5450 C 3.0 (Lite HTTP 00000050: 2054 7261 6e73 706f 7274 290d 0a48 6f73 Transport)..Hos 00000060: 743a 206c 6f63 616c 686f 7374 3a38 3038 t: localhost:808 00000070: 300d 0a43 6f6e 7465 6e74 2d54 7970 653a 0..Content-Type: 00000080: 2074 6578 742f 786d 6c0d 0a0d 0a3c 3f78 text/xml....Status.a 00000110: 6464 3c2f 6d65 7468 6f64 4e61 6d65 3e3c dd< 00000120: 7061 7261 6d73 3e3c 7061 7261 6d3e 3c76 params>33 00000140: 3c2f 7661 6c75 653e 3c2f 7061 7261 6d3e 00000150: 3c70 6172 616d 3e3c 7661 6c75 653e 3c69 9 00000170: 3c2f 7061 7261 6d3e 3c2f 7061 7261 6d73 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org