On Wed, 2008-01-02 at 12:57 -0500, Christopher Schmidt wrote:
> I don't think this is the best solution. Instead, one should probably
> set the "Content-Disposition: attachment;
> filename=preferred_filename.pdf" . This will tell the browser "Download
> ths file to the filename specified" -- which  the browser will then
> present to the user with that filename as the default, and ask them
> where to save it, at least in lynx, Firefox, IE6/7, Safari, and Opera. 

On the one hand, gives the browser a suggested filename.

On the other hand, gives the browser a file extension, therefore letting
it cheat and go looking for a plugin/helper-app.

On balance, it probably is the best way to go with a modern mix of
browsers.  (IE5 I think was the one that always wanted to cheat.)

--kag

 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to