> If we changed the mechanism to be based on http headers rather than suffix,

The determination of whether to download an http file to disk,
as opposed to in memory and browsing, is currently based on content-type
as per the http headers.
In other words, it already works the way you want.
text/ or application/pdf is rendered, all else is downloaded.
Of course you can override a download by typing a space, and keep it in memory.
I do this sometimes for mp3 or wav off a website,
if I just want to hear the sound and not save it somewhere.

This is not configurable, as you suggested.
Perhaps something like

downtype = application/pdf

In the config file.
I'm not sure what the defaults would be, and how to change them in .ebrc.
It could be done, but I wonder if it would confuse
more than it helps.
I'm not sure the average user understands the various content types
in http headers.

Remember that ftp files are always
downloaded to disk, since we have no indication of their type,
the one exception to this being an ftp directory, which I load and browse,
assuming you will select a file or subdirectory from this directory etc.

Karl Dahlke
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to