abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Elkins (JIRA)" <j...@apache.org>
Subject [jira] Updated: (ABDERA-173) AbstractEntityCollectionAdapter.postMedia() returns wrong URI in Location header
Date Tue, 03 Jun 2008 19:22:45 GMT

     [ 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.


Mime
View raw message