Bertrand Delacretaz wrote: > On Dec 12, 2007 10:52 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: > >> Bertrand Delacretaz wrote: >>> ...That's why MicrojaxPostServlet uses a POST to /foo/* to mean "create >>> new child node under /foo", and POST to /foo to mean "update /foo". >>> Using PUT instead would be cleaner of course, but browsers don't do >>> that today. > >> Yes, but you mentioned /foo/*.post.html as the url, which is much more >> ugly than /foo/* > > The POST is done to /foo/*, but David's linotype example uses > /foo/posts/*.post.html as the URL of the page that lists blog posts. > >> ...I think the "post" is superfluous as the method is already post and >> ".html" is not right as content is posted which has nothing to do with >> html.... > > Yes, that URL is used with a GET, not a POST, and "posts" in there > refers to "blog posts", not the POST method...are we confused enough? > ;-) > > So we're discussing two different things: > > 1) MicrojaxPostServlet uses /foo/* with the POST method, where * means > "create a child node with a generated name under /foo". > > I think we agree that this is ok. > Thanks for the explanation - this all now makes more sense to me. If we prefer /* instead of /, I'm fine as well :)
Carsten -- Carsten Ziegeler [EMAIL PROTECTED]
