From owner-freebsd-current Mon Jun 24 17:34:09 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA26831 for current-outgoing; Mon, 24 Jun 1996 17:34:09 -0700 (PDT) Received: from mexico.brainstorm.eu.org (root@mexico.brainstorm.eu.org [193.56.58.253]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA26822; Mon, 24 Jun 1996 17:34:03 -0700 (PDT) Received: from brasil.brainstorm.eu.org (brasil.brainstorm.eu.org [193.56.58.33]) by mexico.brainstorm.eu.org (8.7.5/8.7.3) with ESMTP id CAA06814; Tue, 25 Jun 1996 02:33:02 +0200 Received: (from uucp@localhost) by brasil.brainstorm.eu.org (8.6.12/8.6.12) with UUCP id CAA24628; Tue, 25 Jun 1996 02:32:21 +0200 Received: (from roberto@localhost) by keltia.freenix.fr (8.8.Alpha.5/keltia-uucp-2.8) id BAA11538; Tue, 25 Jun 1996 01:30:57 +0200 (MET DST) From: Ollivier Robert Message-Id: <199606242330.BAA11538@keltia.freenix.fr> Subject: Re: 'fetch' fixes to conform HTTP standard To: ache@nagual.ru (=?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?=) Date: Tue, 25 Jun 1996 01:30:57 +0200 (MET DST) Cc: jkh@FreeBSD.org, asami@cs.berkeley.edu, current@FreeBSD.org In-Reply-To: <199606241554.TAA01498@nagual.ru> from "[______ ______]" at "Jun 24, 96 07:54:37 pm" X-Operating-System: FreeBSD 2.2-CURRENT ctm#2111 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk It seems that [______ ______] said: > It is a bit difficult, because whole buffer (header) is searched, > simple 200 can be anywhere in the buffer. It means that header must be > parsed by lines and require much more changes to this code. I'm surprised. I assumed that HTTP was as many TCP/IP protocols with the same format, the return code in [100,599], a space then a possibly (but not mandatory) error message... All that count in the return code. > BTW, all HTTPDs I saw respond as ... 200 OK The return code is supposed to free you from these kind of assumptions. Who cares what is behind 200 when all that matters in to get that 200... -- Ollivier ROBERT -=- The daemon is FREE! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 2.2-CURRENT #11: Thu Jun 13 11:01:47 MET DST 1996