Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 21223 invoked from network); 8 Aug 2004 00:24:37 -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:24:37 -0000 Received: (qmail 92146 invoked by uid 500); 8 Aug 2004 00:24:31 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 92098 invoked by uid 500); 8 Aug 2004 00:24:31 -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 92084 invoked by uid 99); 8 Aug 2004 00:24:31 -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:24:28 -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 1BtbU8-0004Ro-9h for dev@httpd.apache.org; Sat, 07 Aug 2004 17:24:25 -0700 Date: Sat, 7 Aug 2004 17:24:19 -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: <20040807235129.GA19328@netspace.org> Message-Id: <4A358A2E-E8D1-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 > Since the Apache server can not know if CGI requires C-L, I conclude > that CGI scripts are broken if they require C-L and do not return > 411 Length Required when the CGI/1.1 CONTENT_LENGTH environment > variable is not present. It's too bad that CGI.pm and cgi-lib.pl > are both broken in this respect. Fixing them would be simple and > that would take care of the vast majority of legacy apps. CGI was defined in 1993. HTTP/1.0 in 1993-95. HTTP/1.1 in 1995-97. I think it is far-fetched to believe that CGI scripts are broken because they don't understand a feature introduced three years after CGI was done. I certainly didn't expect CGI scripts to change when I was editing HTTP. I probably expected that someone would define a successor to CGI that was closer in alignment to HTTP, but that never happened (instead, servlets were defined as a copy of the already-obsolete CGI interface rather than something sensible like an HTTP proxy interface). *shrug* CGI is supposed to be a simple interface for web programming. It is not supposed to be a fast interface, a robust interface, or a long-term interface -- just a simple one that works on multiple independent web server implementations. ....Roy