RE: math: URI scheme and protocol handler

>> Not sure what you're trying to fix here. If the browser knows the handler for the media type, it's supposed to download to a temporary file and pass that to the media type handler.

>That's not generally what it does.
>It downloads it to a persistent file and passes *that* to the media type handler.

>And depending on browser settings it may ask you where to put the persistent file.

>The gist is that the browser does not know the difference between a downloaded legal document that should be stored forever in an easy to find place and a downloaded equation which is likely not very relevant for long-term use.

Content-Disposition response header is how the browser knows for http: URIs. For file: URIs, nothing gets downloaded so nothing should be asked. The browser doesn’t know with ftp: URIs, but it also doesn’t know content-type.  Data: URIs are always ‘temporary’.

Larry
--
http://larry.masinter.net

Received on Saturday, 5 July 2014 13:16:15 UTC