From owner-cvs-usrbin Sat Jul 26 13:19:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA18463 for cvs-usrbin-outgoing; Sat, 26 Jul 1997 13:19:57 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA18384; Sat, 26 Jul 1997 13:19:17 -0700 (PDT) From: Garrett Wollman Received: (from wollman@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id NAA24889; Sat, 26 Jul 1997 13:18:46 -0700 (PDT) Date: Sat, 26 Jul 1997 13:18:46 -0700 (PDT) Message-Id: <199707262018.NAA24889@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/fetch http.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 1997/07/26 13:18:46 PDT Modified files: usr.bin/fetch http.c Log: Work around a brokenness in the HTTP spec by generating the Host header for ftp: URLs as well. This can't possibly be done in the general case, but since we only claim to support http and ftp, we'll adhere to the bogus requirement (RFC 2068, s. 14.25) anyway... >sigh< Submitted by: =?iso-8859-1?Q?=C5ge_R=F8bekk?= Revision Changes Path 1.10 +2 -2 src/usr.bin/fetch/http.c