Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 21973 invoked from network); 8 Aug 2004 00:31:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Aug 2004 00:31:40 -0000 Received: (qmail 96154 invoked by uid 500); 8 Aug 2004 00:31:36 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 96028 invoked by uid 500); 8 Aug 2004 00:31:34 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 96010 invoked by uid 99); 8 Aug 2004 00:31:34 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [64.235.234.122] (HELO scorpio.lunarpages.com) (64.235.234.122) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 07 Aug 2004 17:31:33 -0700 Received: from ip68-4-71-218.oc.oc.cox.net ([68.4.71.218] helo=gbiv.com) by scorpio.lunarpages.com with asmtp (SSLv3:DES-CBC3-SHA:168) (Exim 4.34) id 1Btbb2-0008Ut-EP for dev@httpd.apache.org; Sat, 07 Aug 2004 17:31:32 -0700 Date: Sat, 7 Aug 2004 17:31:34 -0700 Subject: Re: POST without Content-Length Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v553) From: Roy T. Fielding To: dev@httpd.apache.org Content-Transfer-Encoding: 7bit In-Reply-To: <20040808002155.GA20504@exuhome.dyn.jankratochvil.net> Message-Id: <4D4BC1C0-E8D2-11D8-A007-000393753936@gbiv.com> X-Mailer: Apple Mail (2.553) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - scorpio.lunarpages.com X-AntiAbuse: Original Domain - httpd.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - gbiv.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Saturday, August 7, 2004, at 05:21 PM, Jan Kratochvil wrote: > This whole thread started due to a commercial GSM mobile phone: > User-Agent: SonyEricssonP900/R102 Profile/MIDP-2.0 > Configuration/CLDC-1.0 Rev/MR4 > > , it sends HTTP/1.1 "chunked" requests to its HTTP proxy although you > will > access general web sites. The "chunked" body is apparently created on > the fly, > each "chunk" as a specific body element generated by a part of P900 > code. So stick a proxy in front of it that waits for the entire body on every request and converts it to a content-length. I am not saying that it isn't possible -- it is just stupid for a general-purpose proxy to do that (just as it is stupid to deploy a cell phone with such a lazy HTTP implementation). ....Roy