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
frank.as...@fiz-karlsruhe.de


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
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to