On Sat, Mar 28, 2015 at 07:18:07AM -0400, Karl Dahlke wrote:
> Chuck asks:
> > how would a user be able to retrieve and save the original pdf?
> 
> You can save the original of any file you access on the web,
> be it pdf or html or whatever, by typing ub to unbrowse the file,
> thus reproducing the original, then w to write.
> Or w/ to write to the internet filename, if that is the filename you want.
> You wouldn't lose any capabilities; probably this is how you did it
> in edbrowse 3.5.2 and earlier.

This makes me wonder whether we should make the content type handling (as in 
the mime type reported by the http header, not based on suffix)
configurable rather than hard-coding defaults and then using the download
prompt for the rest?
I know we have the mime mechanism at the moment,
but it needs a suffix (as far as I know), and it'd be nice to not rely on that,
particularly for websites which don't use standard suffixes (i.e.
some php scripts I've seen generate pdf output but have the .php suffix in the 
URL).
If we changed the mechanism to be based on http headers rather than suffix,
then we could also add a download or view option
so that you could configure pdfs to download rather than view if you wanted to.

Cheers,
Adam.

Attachment: signature.asc
Description: Digital signature

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

Reply via email to