> Date: Tue, 14 Dec 2004 16:44:41 -0000
> From: "Matthew J. Dovey" <[log in to unmask]>
> At the moment the intent is that the same URL is used for both the
> SRU endpoint and the SRW endpoint.

(Aside: is that intent documented anywhere?)

> The server has to be able to determine whether it is getting an SRU
> request or an SRW request [...]


> [...] and at present the server can distinguish that by whether it
> gets a HTTP GET (hence SRU) or HTTP POST (hence SRW).

Yup.  But there are other ways.  The YAZ implementation of SRW allows
the same port to be used for both SRW and Z39.50 -- we just peek ahead
at the first few bytes of the request and switch on what we see
there.  They same could certainly be done, pretty trivially, for
determing whether a POST payload is SRW or SRU.

 _/|_    _______________________________________________________________
/o ) \/  Mike Taylor  <[log in to unmask]>
)_v__/\  "I don't see disagreement as a bad thing. It forces me
         to defend my position.  If I cannot do it satisfactorily,
         my idea hits the bin.  I see this as good" -- Alan Kent.

Listen to free demos of soundtrack music for film, TV and radio