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.

2) Davids linotype example uses /foo/*.html with the GET method, to
access a SyntheticResource that allows a page to be displayed at a URL
where there's no content yet.

-Bertrand

Reply via email to