abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James M Snell <jasn...@gmail.com>
Subject Re: Default status for unimplemented methods
Date Sun, 08 Jun 2008 16:43:26 GMT
Hmmm. definitely sounds like a bug. It should be 405.

- James

Jim Ancona wrote:
> 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.
> 
> Thoughts? If there's consensus on this, I'll log a bug and submit a patch.
> 
> Jim
> 

Mime
View raw message