Why not use the DELETE method? In general, the :operation parameter is specific to the default POST servlet, so yes, you would need to look for this parameter value in your servlet. Or just use the DELETE method.
Justin On Oct 26, 2010, at 1:07 PM, Carl Hall <[email protected]> wrote: > I have a node, /var/proxy/scribd, that has sling:resourceType='sakai/proxy' > which triggers a proxy handling servlet. While in development, I often need > to change properties on this node or delete the node entirely. Since my > servlet handles POST, it catches my call when I do "curl -F > :operation=delete http://localhost:8080/var/proxy/scribd" leaving me with > the results of the servlet processing which is a 400 return code and thusly > doesn't run the delete post processor. Is there a way I can not run the > resource type processor or do I need to add a catch for the delete command > so my servlet stops processing gracefully to allow deletion?
