<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="Text File" newcontext="true">
<p>
Received: with ECARTIS (v1.0.0; list gopher);
 Sat, 06 Apr 2002 10:33:39 -0500 (EST)
Return-Path: &lt;wzk@happy-ent.de&gt;
Delivered-To: gopher@complete.org
Received: from um1b.pce.de (um1b.pce.de [213.185.64.7])
	by pi.glockenspiel.complete.org (Postfix) with ESMTP id C140C3B859
	for &lt;gopher@complete.org&gt;; Sat,  6 Apr 2002 10:33:37 -0500 (EST)
Received: from win98.happy-ent.de (ppp-huerth-41.pce.de [213.185.65.169])
	by um1b.pce.de (8.9.3/8.9.3) with ESMTP id RAA32017;
	Sat, 6 Apr 2002 17:33:34 +0200
Message-Id: &lt;5.1.0.14.1.20020406171824.009e8c40@um1b.pce.de&gt;
X-Sender: qe-wzk@um1b.pce.de
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Sat, 06 Apr 2002 17:39:48 +0200
To: gopher@complete.org, gopher@complete.org
From: Wolfgang Zekoll &lt;wzk@happy-ent.de&gt;
Subject: [gopher] Re: Pygopherd nearing gopherd replacement
In-Reply-To: &lt;EF40ADB8-48A1-11D6-857D-0003930BF072@complete.org&gt;
References: &lt;3CACE3A1.464BE377@sympatico.ca&gt;
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-archive-position: 571
X-ecartis-version: Ecartis v1.0.0
Sender: gopher-bounce@complete.org
Errors-to: gopher-bounce@complete.org
X-original-sender: wzk@happy-ent.de
Precedence: bulk
Reply-to: gopher@complete.org
List-help: &lt;mailto:ecartis@complete.org?Subject=help&gt;
List-unsubscribe: &lt;mailto:gopher-request@complete.org?Subject=unsubscribe&gt;
List-software: Ecartis version 1.0.0
List-ID: Gopher &lt;gopher.complete.org&gt;
X-List-ID: Gopher &lt;gopher.complete.org&gt;
List-subscribe: &lt;mailto:gopher-request@complete.org?Subject=subscribe&gt;
List-owner: &lt;mailto:jgoerzen@complete.org&gt;
List-post: &lt;mailto:gopher@complete.org&gt;
List-archive: &lt;http://www.complete.org/mailinglists/archives/&gt;
X-list: gopher
</p>
<p></p>
<p>At 09:32 05.04.02 -0500, John Goerzen wrote:
</p>
<p>&gt;On Thursday, April 4, 2002, at 06:37  PM, Ralph Furmaniak wrote:
&gt;
&gt; &gt;&gt; Pygopherd also does not add
&gt; &gt;&gt; an extra (or &quot;second&quot; if you&#x27;re using URLs) type character like UMN
&gt; &gt;&gt; gopherd does.  Because it figures all this out itself, that is
&gt; &gt;&gt; unnecessary.
&gt; &gt;
&gt; &gt; This does have its uses.  For example an executable must be able to
&gt; &gt; return
&gt; &gt; either a plain file or a menu (gophermap format).  If you include the
&gt;...
&gt;Actually, I believe that including it makes the code more complex.
&gt;Since the client already knows what sort of document it&#x27;s getting,
&gt;there&#x27;s no real need for the server to know at that time.  Especially
&gt;now that we&#x27;re doing away with \n.\n.
</p>
<p>When I tried to drop the leading type character in the gopher selectors
I discovered the following problem.  The server receives the request
</p>
<p>         /fooFsomedata
</p>
<p>with `F&#x27; being a tab character.  Now the question for the server is if
`/foo&#x27; is of type 7 or not.  In the first case `somedata&#x27; is the query
string in the second it&#x27;s a gopher+ attribute.
</p>
<p>To answer this question and to continue the selector parsing the server
must first get the type of `/foo&#x27;.  This is possible but I prefer the
server to have a clear understanding of the selector before doing
anything else like analysing the request and the addressed item.  In
other words, I want to make the selector interpretation independent
from the available data.  Here the leading type character simply helps
the server to see how the whole request should be interpreted.
</p>
<p>Regards
</p>
<p>Wolfgang Zekoll
</p>
<p></p>
</card>
</wml>
