[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: draft-ietf-atompub-protocol-11: How do I create a Media Entry from an Entry?
Lindsley Brett-ABL001 wrote:
> The system I am designing needs to create a Media Entry from an Entry.
> That is, I need to post an entry to a collection and have the collection
> create a media entry (I do not want the entry to be added to the
> collection as a member entry).
>
One approach would be to post the entry using the application/xml
Content-Type rather than application/atom+xml... but that approach kinda
sucks.
Another would be to just go ahead and treat the posted
application/atom+xml as a media resource. The specification does not
require that posting an entry document does not create a media entry.
The server has a significant amount of freedom in what it actually
creates. It's a non-typical behavior, to be sure, but I think it's allowed.
- James