The atom publishing protocol client implementation for Tomboy (http://flukkost.nu/blog/tomboyblogposter/, https://code.launchpad.net/tomboy-blogposter) submits an incomplete Content-Type (just "application/atom+xml" instead of "application/atom+xml;type:entry"). Can this media type be considered acceptable as well?
| Comment | File | Size | Author |
|---|---|---|---|
| atompub-accept-plain-atom-xml-type.patch | 1.34 KB | mlncn |
Comments
Comment #1
stefan freudenberg commentedThe change to AtompubCollection::post looks good. A similar change should be made to AtompubDocument::put. The AtompubUnsupportedMediaType exception should not be changed like suggested.
Comment #2
stefan freudenberg commentedI have applied a modified version of the patch. After further reading of the Atom documentation I think a request should be filed against the tomboy plugin. The mime type for Atom requires using the type parameter to distinguish between feeds and individual entries.
Comment #3
stefan freudenberg commentedApparently it is ok to only provide "application/atom+xml" as the content type: http://www.atomenabled.org/developers/protocol/atom-protocol-spec.php#rf...
Comment #4.0
(not verified) commentedImproved wording