On 6 Apr 2009, at 21:36, Matt Read wrote:

> I'd like to further extend this to a more REST/CRUD type system. So  
> make
> a POST or PUT request to /post would CREATE a new post. PUT request
> to /post/$id would UPDATE given post, DELETE would delete. Basically,
> allowing us to tie the admin system closer to the ACL CRUD system. (I
> believe browsers will allow us to submit forms with action="DELETE|
> PUT".)

I'd follow APP's (Atom Publishing Protocol) example for consistency's  
sake. (Quite what APP does I don't know.) I also presume you mean  
@method and not @action. My understanding is that browsers allow GET,  
POST, PUT, and DELETE (these are matched case-insensitively, but  
should probably be given in uppercase for consistency with HTTP  
itself) and map anything else to GET.


--
Geoffrey Sneddon
<http://gsnedders.com/>


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/habari-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to