On Fri, 2002-04-26 at 10:09, Kendall Clark wrote:
> >>>>> "terrel" == Terrel Shumway <[EMAIL PROTECTED]> writes:
> 
> I think, provisionally, that some parts of DAV infrastructure do
> generalize: request parsing, response construction, (maybe) property
> and lock management (or perhaps just parts of lock and property
> management, like universally unique lock token creation, say). I'm
>...

OK, My ignorance is showing. I have not actually read any WebDAV specs. 
I just assumed that it was a network VFS with version control semantics.
I guess the "collection management" abstraction is the first thing I
think of when I see the word "filesystem". Too much reiserfs on the
brain. <shrug>

> I agree. Unsafe GETs are unsound.
> 
>           That kind of knowledge
>   terrel> need not be available outside of the servlet. It is also why
>   terrel> /delete is better spelled as /?action=delete:
> 
> No, it's why GET should be safe! :>
> 
> Spiders, conservative or not, do not issue DELETE methods to origin
> servers, after all.

You are suggesting HTTP DELETE? I hadn't thought of that. Does that mean
I can say <form method="DELETE" action="..."> and the browser will send
the appropriate request when I submit the form?
 
If this usage is not widely supported, I suppose POST will do with
slightly mangled semantics. (spiders don't do POSTS either, I suppose.)


> Now, eventually, I think this *kind* of issue gets swallowed up by
> content negotiation and media feature tags (RFC 2295). Until then,
> however, the distinction between view and variant is wholly
> context-specific and interest-relative.

OT: I was using IE to print a wiki page (moinmoin). When I pulled up the
print preview, it added ?action=print to the URL. I wondered if this was
just an IE hack. I didn't think there might be some standard behind it. 
Is this the "media feature tag" you are talking about? Yes! There it is!

  <link rel="alternate" media="print" href="%s?action=print">

I like it!

> Plus, there is a human factors angle: URLs with ? and & are ugly and
> hard for most people to remember. Ordinary, non-hacker types can
> remember /foo/bar/print far easier than they can /foo/bar?action=print

I think that the "Print" button that uses media="print" is even easier
to remember. 8-) I love it! (not very useful though if you just want to
download a pdf.)

> I agree completely that the way an app server like Webware manages URI
> space should make no assumptions about filesystems. That's, in my
> view, the major Webware wart. 

I hadn't thought of it that way. But yes, that is exactly right.




_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to