From owner-cvs-all Thu Dec 14 13:26:16 2000 From owner-cvs-all@FreeBSD.ORG Thu Dec 14 13:26:14 2000 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from shell.webmaster.com (unknown [216.152.64.152]) by hub.freebsd.org (Postfix) with ESMTP id F0AA737B400; Thu, 14 Dec 2000 13:26:13 -0800 (PST) Received: from whenever ([216.152.68.2]) by shell.webmaster.com (Post.Office MTA v3.5.3 release 223 ID# 0-12345L500S10000V35) with SMTP id com; Thu, 14 Dec 2000 13:26:12 -0800 From: "David Schwartz" To: Cc: , "Dag-Erling Smorgrav" Subject: RE: cvs commit: src/usr.bin/fetch fetch.c Date: Thu, 14 Dec 2000 13:26:13 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On 14-Dec-00 David Schwartz wrote: > > Please tell me this isn't a case where if the host is > > 'ftp.foo.com', we > > assume we're supposed to be using FTP and if it's > > 'www.foo.com', we assume > > we should be using HTTP. I really hope that's not what you're > > talking about. > > > > When my browser first started doing this, it bugged the > > hell out of me. > Well.. what else is it going to do? Assume one or the other? > > Personally since at least Netscape and IE do this it is expected > behaviour. > > If you want to be 100% sure what it's doing, specify the scheme > explicitly. IMO, either there should be a default scheme or the scheme should be required to be specified. But to attempt to divine the scheme based upon the host _name_ makes no sense. If you're buying a gift for a woman and you don't know what to buy, should you prefer to buy her chocolates because her name is Candy? Should you give her cash if her name is Penny? The only people who expect this type of behavior are people who don't understand that the 'www' in 'www.domain.com' is simply the hostname. Trying to make it mean something other than that just adds to this confusion. For example, I have a web server called 'youknow.youwant.to', and about half the time I give people URLs on that server, they wind up putting in 'www.youknow.youwant.to' for no reason other than that because it's a web page, they felt the server name had to have a 'www' in front of it. How many servers with 'ftp' in their name provide an http service as well? DS To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message