2006/3/23, Toru Marumoto <[EMAIL PROTECTED]>: > > > *What happens if I issue GET request to a member uri which belongs > > > to a media > > > collection? Do I get Binary or an Atom entry document? > > > > Binary. The member MAY have an associated atom entry accessible via > > some other URI as specified in the edit link in the members entry in the > > collection feed. > > I was hoping it was an Atom entry, not Binary....since POSTing binary > file returns an Atom entry document with status code of 201, right?
No ;-) HTTP doesn't define what's returned in 201 (see my previous mail about 200/204 in response to a successful PUT), and Atom doesn't spec it as well (examples might imply it though, but they need to be fixed and tweaked anyway) I think "media" collections *must* be reworked, so you're welcome to contribute ;-) -- Thomas Broyer
