Different representations for the same MIMEType are fine according to
rfc2616 - 

"     Note: This is not called "format negotiation" because the
      alternate representations may be of the same media type, but use
      different capabilities of that type, be in different languages,
      etc.
"

> -----Original Message-----
> From: Asseg, Frank [mailto:[email protected]] 
> Sent: 03 August 2011 15:03
> To: [email protected]
> Subject: Re: [fcrepo-dev] FCREPO-951
> 
> 
> On 08/03/11 15:51, Chris Wilper wrote:
> > Hi Frank,
> >
> > The resource denoted by objects/{pid}/datastreams is not an XML file
> > -- it is the more abstract notion of the set of datastreams in the 
> > indicated object. In REST, it is fine for a single resource to have 
> > multiple representations, one of which is more detailed than the 
> > other.
> Is it also ok to have multiple representations of the same mime type 
> then? since content negotation should be deciding with which 
> representation to answer the request, it should be set in the 
> Accept-Header, and this would be application/xml for both.
>   That's why i always thought along the lines of one 
> representation of 
> the resource per mime-type...
> 
> 
> 
> -- 
> Frank Asseg
> ePublishing & eScience
> Development & Applied Research
> Phone +49 7247-808-515
> Fax +49 7247 808-133
> [email protected]
> 
> 
> FIZ Karlsruhe – Leibniz Institute for Information 
> Infrastructure Hermann-von-Helmholtz-Platz 1 76344 
> Eggenstein-Leopoldshafen, Germany
> 
> http://www.fiz-karlsruhe.de/
> 
> 
> -------------------------------------------------------
> 
> Fachinformationszentrum Karlsruhe, Gesellschaft für 
> wissenschaftlich-technische Information mbH. 
> Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht 
> Mannheim HRB 101892. 
> Geschäftsführerin: Sabine Brünger-Weilandt. 
> Vorsitzender des Aufsichtsrats: MinDirig Dr. Thomas Greiner.
> 
> --------------------------------------------------------------
> ----------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, 
> CA The must-attend event for mobile developers. Connect with experts. 
> Get tools for creating Super Apps. See the latest 
> technologies. Sessions, hands-on labs, demos & much more. 
> Register early & save! http://p.sf.net/sfu/rim-blackberry-1
> _______________________________________________
> Fedora-commons-developers mailing list 
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
> 


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to