Return-Path: Mailing-List: contact websh-dev-help@tcl.apache.org; run by ezmlm Delivered-To: mailing list websh-dev@tcl.apache.org Received: (qmail 64604 invoked from network); 22 Nov 2001 09:46:11 -0000 Received: from ppp-39-48.25-151.libero.it (HELO ashland) (151.25.48.39) by daedalus.apache.org with SMTP; 22 Nov 2001 09:46:11 -0000 Received: by ashland (Postfix, from userid 1000) id 5962B4CE0C; Thu, 22 Nov 2001 10:46:50 +0100 (CET) To: websh-dev@tcl.apache.org Subject: default scheme From: davidw@dedasys.com (David N. Welton) Date: 22 Nov 2001 10:46:50 +0100 Message-ID: <87bshvcf3p.fsf@dedasys.com> Lines: 24 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N WRT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4720 default is always http. Should depend on server scheme. check if env(HTTPS) has value "on" (or is there a better way?) do you guys have access to IIS or netscape servers, to quickly check and see if they set this variable as well? Unfortunately, Tcl doesn't provide anything to directly check the environment, so to do this in a Tcl'ish way (i.e., no getenv), we are going to have to pass the interpreter around a bit: UrlData *createUrlData(void) no problem, though... Happy Thanksgiving! -- David N. Welton Consulting: http://www.dedasys.com/ Free Software: http://people.debian.org/~davidw/ Apache Tcl: http://tcl.apache.org/ Personal: http://www.efn.org/~davidw/