Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 14745 invoked by uid 500); 13 Dec 2002 06:44:08 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 14734 invoked from network); 13 Dec 2002 06:44:08 -0000 X-Authentication-Warning: trickster.hist.umn.edu: tc owned process doing -bs Date: Fri, 13 Dec 2002 00:44:19 -0600 (CST) From: Tony Collen To: cocoon-users@xml.apache.org Subject: [RT] limiting access to a url by method Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I've been thinking... in a RESTful style architecture, one performs "verbs" upon a certain URI, e.g. GET POST PUT or DELETE. It seems to me that Cocoon allows one to craft a REST-style application, and in fact it lets one do it very easily. However, I've noticed that Cocoon will respond to GETs or POSTs to anything that it can match. Does it make sense to deny requests to a certain URI in a RESTful architecture? When someone writes a servlet, they decide which methods to override; doGet(), doPost(), and I believe doPut() and doDelete() are in there as well, albeit a lot less likely to be used. In essence, they are defining what actions can be performed on the URI of the servlet. What I'm getting at, is would it be at all useful to be able to limit the things that Cocoon will respond to? Perhaps something like an HttpMethod selector? Perhaps Cocoon already has this functionality and I just haven't run across it yet :) Time for bed. Tony Tony Collen -- tc@socsci.umn.edu College of Liberal Arts University of Minnesota, Minneapolis, West Bank --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: