[gcs-pcs-list] (possible) issue: what to do for redirects?

Daniel Chudnov daniel.chudnov at yale.edu
Sun Mar 5 16:01:04 EST 2006


Mike Rylander wrote, on Fri, Mar 03, 2006 at 08:46:36PM +0000:
> On 3/3/06, Daniel Chudnov <daniel.chudnov at yale.edu> wrote:
> >  - Is it wrong for OPA to use a redirect here?  i.e. would it be more
> >    appropriate for OPA (as an unAPI service) to fetch the remote data
> >    itself, and return *that* to the user directly, with the correct
> >    content-type and a 200 code?
> 
> It seems to me that this would put unduly heavy requirements on the
> unAPI server.  If we're depending on HTTP response codes to figure out
> what's going on, we should depend on them to get us to the endpoint as
> well ... IMHO :)

Indeed.  I can live with this as-is, then.  Happily. :) 

The only caveat being (though it's really a separate case) in other
OPA examples like the generic OAI-PMH proxy, the unAPI service (OPA)
should do the heavy lifting of liberating the record from the OAI-PMH
wrapper and returning just the plain record/object directly.

  -Dan


-- 
Daniel Chudnov
Yale Center for Medical Informatics
(203) 737-5789


More information about the gcs-pcs-list mailing list