Re: Who can express URL syntax with BNF

Tony Sanders <sanders@BSDI.COM>
Errors-To: listmaster@www0.cern.ch
Date: Fri, 29 Apr 1994 20:33:19 +0200
Errors-To: listmaster@www0.cern.ch
Message-id: <199404291830.NAA27278@austin.BSDI.COM>
Errors-To: listmaster@www0.cern.ch
Reply-To: sanders@BSDI.COM
Originator: www-talk@info.cern.ch
Sender: www-talk@www0.cern.ch
Precedence: bulk
From: Tony Sanders <sanders@BSDI.COM>
To: Multiple recipients of list <www-talk@www0.cern.ch>
Subject: Re: Who can express URL syntax with BNF 
X-Listprocessor-Version: 6.0c -- ListProcessor by Anastasios Kotsikonas
Organization: Berkeley Software Design, Inc.
Organization: Berkeley Software Design, Inc.
Gunter writes:
> No, I did not read the www-talk archive. But the parser of my HTTP server
> for Windows will be an ugly piece of code, if it cannot decide what to do:
..
> HTTP protocol states that spacejump and textsearch methods are done via GET.
> Why don't we use SPACEJUMP or TEXTSEARCH to disambiguate our syntax?

SPACEJUMP and TEXTSEARCH are attributes of an object, not methods.
I have suggested in the past that they be moved into a more generic
attribute specifier but I haven't seen any change in the spec yet.
TimBL, what do you think?

The server should use the URL to disambiguate whatever it needs to disambiguate:
	GET /place-order?...	form
	GET /visual-index?...	spacejump
	GET /data?...		text search
	GET /library?...	library-style search (a=author, t=title, s=subject)
	GET /database?...	SQL search
	GET /listing?...	regular expression
	etc, etc.

--sanders