[ https://issues.apache.org/jira/browse/ABDERA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher Elkins updated ABDERA-173: -------------------------------------- Attachment: AbstractEntityCollectionAdapter.java.patch This patch fixes postMedia() by simply deferring to createMediaEntry(). > AbstractEntityCollectionAdapter.postMedia() returns wrong URI in Location > header > -------------------------------------------------------------------------------- > > Key: ABDERA-173 > URL: https://issues.apache.org/jira/browse/ABDERA-173 > Project: Abdera > Issue Type: Bug > Affects Versions: 0.4.0, 0.5.0 > Reporter: Christopher Elkins > Attachments: AbstractEntityCollectionAdapter.java.patch > > > Per section 9.6 of RFC 5023, "successful responses to creation requests MUST > include the URI of the Media Link Entry in the Location header." However, > AbstractEntityCollectionAdapter.postMedia() returns the URI of the Media > Resource. Confusingly, createMediaEntry(), which otherwise has the same code, > behaves as expected. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.