vote: status codes (was Re: [gcs-pcs-list] (possible) issue: what to do for redirects?)

Daniel Chudnov daniel.chudnov at yale.edu
Wed Mar 8 14:21:15 EST 2006


Welcome Leigh!

First - as a point of information, see this thread:

  http://cipolo.med.yale.edu/pipermail/gcs-pcs-list/2006-March/000473.html


Rob Sanderson wrote, on Wed, Mar 08, 2006 at 05:50:15PM +0000:
> On Wed, 2006-03-08 at 17:02 +0000, Leigh Dodds wrote:
> 
> > >    * 415 Unsupported Media Type - requests for a URI that is available
> > >    on the server but for a format that is not available for that URI
> > 
> > 415 isn't really suitable here. It's for use when the server is
> > "refusing to service the request because the entity of the request is
> > in a format not supported by the request resource for the requested
> > method". There's no entity being sent here.
> 
> Isn't the 'entity' here the object identified by the URI?

I think the "entity" here should be "UNAPI?uri=URI&format=FORMAT", which
is to say, please, server, give me URI in FORMAT, or, "this server's
representation of URI in FORMAT".  That contrasting with "the object
identified by the URI."

If it's what I think it is, it seems reasonable to say "the server is
refusing to service the request because the entity of the request is
not in a supported format by the request format."

But, seeing as it's not clear that this is the correct interpretation,
and we're on a not-specifying codes kick, I'll flag "revisit 415 vs. 406"
for a later revision for now.

  -Dan


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


More information about the gcs-pcs-list mailing list