Ok... but I happen to be interested in "very special cases."
>What proxies need to know is more about how format negotiation works so
>they can short circut a request to a varient URI with something in the
>cache but your proposal doesn't do anything to address that.
I believe the proposal addresses exactly that situation: if the
link gives the content type, then the proxy is free to ignore
the possiblity that there are other content types, and serve
up the cached copy. I guess you have to do the same thing for
version, language, ... . The number of variant axes must be
set in stone, or this doesn't work...
>If all you want is links to specific data sets URI: works like this.
>Let's say you access http://www.bsdi.com/ and you get this back:
> Last-Modified: Sunday, 08-May-94 20:48:20 GMT
> Date: Thursday, 19-May-94 19:06:21 GMT
> URI: http://www.bsdi.com/; vary=content-type,version,language
> URI: http://www.bsdi.com/index; vary=content-type,version,language
> URI: http://www.bsdi.com/index.html; vary=language,version
> URI: http://www.bsdi.com/En_US/index.html; vary=version
> URI: http://www.bsdi.com/1.19/En_US/index.html
> Content-Language: en_US
> MIME-Version: 1.0
> Content-Type: text/html
>Then you know that http://www.bsdi.com/1.19/En_US/index.html (for as long
>as it's valid) will return the exact same bits as you have in your hand
>right now and you know that those bits are text/html in en_US.
Ah! The lightbulb goes on! I thought the server would just give:
URI: http://www.bsdi.com/; vary=content-type,version,language
and that's it. This business of giving lots of URI: headers certainly
does address some of my concerns. I'll have to meditate on it a while
to see if it solves the whole problem I'm interested in.
>Please explain and give a specific protocol transaction where your scheme
>of encoding the content-type in a standard way inside the HTTP URL is any
>better than this.
Nope. This is sufficient. It's nearly equivalent: it's just a question
of what's explicit where vs. what's implicit where.
Hmmm... it seems that putting type info in the link is still
useful for FTP, though.
Thanks for clearing this up for me.
Dan