Re: URL-Reference / "empty URL" question

On Wed, 14 May 1997, Foteos Macrides wrote:

> 	But there's no need to introduce a "this:" or "goldalhistory:"
> internal URL concept into this:
> 
> 	The equivalent of that it has existed since the outset of the
> Web via the procedure of comparing the actual URL (without the fragment)
> to that of the currently displayed document.  

Has it not also caused problems since the outset of the Web?
(Just a question.  I haven't been around.)

> When FORMs came into being,
> a comparison of any POST content was made as well.  If, by those checks,
> the resolved reference proves to be the currently displayed document,
> then the browser simply changes the view as indicated by the fragment
> reference, without making another request, or considering any cache
> control directives associated with the document:  It's dealing with
> "history", not "cache" by virtue of that comparison.

That sounds like a bug, not a feature.

In many cases a FORM's ACTION= URL doubles as the URL of the page which
contains the form (which might contain introductory explanations or
instructions not included with every response of a submission, etc). 
With METHOD=POST, this means the text/html document returned as a result
of a submission cannot contain <A HREF="http://our.server/this-URL">...</A>
or <A HREF="this-URL#intro">..</A> links - they would be misinterpreted as
a request for re-submitting the form and/or repositioning within the
submission response.

> 	But the same should apply no matter how the "URL#fragment"
> was resolved.  

I see no reason why this limitation should be lifted to the rank of a
"should"...

> If the URL (plus any POST content) corresponds to
> that of the currently displayed document, it's a history/view, not
> cache control issue.

You are describing how this has historically been handled, and the weight
of that history may well prevent any changes.  That doesn't mean that this
behavior is desirable, or deserves to be encouraged in other clients...


   Klaus

Received on Wednesday, 14 May 1997 18:48:06 UTC