Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 59410 invoked by uid 500); 14 Dec 2000 06:18:32 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 59399 invoked from network); 14 Dec 2000 06:18:32 -0000 Errors-To: From: "William A. Rowe, Jr." To: Subject: RE: protocol/6973: http_protocol.c isn't compatible with HTTP RFC Date: Thu, 14 Dec 2000 00:18:46 -0600 Message-ID: <009c01c06595$b815e8f0$92c0b0d0@roweclan.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: <20001214061606.F30050@hand.dotat.at> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > From: Tony Finch [mailto:dot@dotat.at] > Sent: Thursday, December 14, 2000 12:16 AM > > "William A. Rowe, Jr." wrote: > > > >One more observation. If the code (existing or future) > receives a range > >1001-1000 we don't fail the request. > > Actually, in that case we do the right thing -- we ignore the header. > > >OTOH, we need to be careful here, since a request for 1000-1001 from > >a 100 byte file would result in a 1000-99 style spec, which we should > >dishonor, but not fail the request if there are valid requests. > > In that case we should generate a 406 error, which we don't > currently do. > > I think the current boolean return value from parse_byterange is > inadequate and it needs to become a three-way value: OK, > ingore, and bad. +1 (that is +1 to your proposal to add +1, 0, -1 :-)