[ 
https://issues.apache.org/jira/browse/ABDERA-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christopher Elkins updated ABDERA-179:
--------------------------------------

    Attachment: absolution-location.patch

This patch fixes AbstractEntityCollectionAdapter to return absolute URIs in the 
Location header when posting entry or media resources and enforces the behavior 
by updating related unit tests (the ones I found) to use the response location 
as given rather than trying to resolve it against a known URI.

Additionally, it removes some redundancy by making postEntry() defer to 
createNonMediaEntry() in a manner similar to r663820.

> AbstractEntityCollectionAdapter incorrectly returns relative URIs in Location 
> header
> ------------------------------------------------------------------------------------
>
>                 Key: ABDERA-179
>                 URL: https://issues.apache.org/jira/browse/ABDERA-179
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Christopher Elkins
>         Attachments: absolution-location.patch
>
>
> Per section 14.30 of RFC 2616, the Location header "consists of a single 
> absolute URI". However, whether posting entry or media resources, 
> AbstractEntityCollectionAdapter responds with a relative URL in the Location 
> header.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to