abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Ancona <...@anconafamily.com>
Subject Re: [jira] Updated: (ABDERA-175) Default return status for unimplemented functions is incorrect
Date Mon, 09 Jun 2008 16:05:05 GMT
Thanks David!

I was planning on putting a patch together, but you beat me to it!

Jim

David Calavera (JIRA) wrote:
>      [ https://issues.apache.org/jira/browse/ABDERA-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
> 
> David Calavera updated ABDERA-175:
> ----------------------------------
> 
>     Attachment: notAllowed.patch
> 
>> Default return status for unimplemented functions is incorrect
>> --------------------------------------------------------------
>>
>>                 Key: ABDERA-175
>>                 URL: https://issues.apache.org/jira/browse/ABDERA-175
>>             Project: Abdera
>>          Issue Type: Bug
>>    Affects Versions: 0.4.0, 0.5.0
>>            Reporter: Jim Ancona
>>            Priority: Minor
>>         Attachments: notAllowed.patch
>>
>>
>> Most of the unimplemented cases in AbstractProvider and AbstractCollectionAdapter
call ProviderHelper.notsupported(), which returns an HTTP status of 415 - Media type not supported.
So an HTTP PUT or DELETE on a collection URI, or a POST to an Entry URI returns 415. It seems
to me that something like 405 Method not allowed would be clearer. 
> 


Mime
View raw message