> "Fred Pacquier" <[EMAIL PROTECTED]> wrote:
> > Content-type: application/octet-stream
> > Content-Disposition: attachment;filename=foo.bar
> 
> I'm just curious -- does that filename work?  I.e., if you access the
> URL http://something.com/getfile?foo.bar, and you set the
> Content-Disposition header, will the browser suggest foo.bar for the
> filename?  (Usually it would suggest getfile, I think)

It does here (using Webware's own http server - haven't tried with 
cgi, if it makes a difference). That, at least, works perfectly :-) 

> See Chuck's comments.  Just chunking it for .read() wouldn't be
> enough, as Page also keeps the output contents in memory until your
> finished unless you do streaming.  I.e., self.write() doesn't (by
> default) immediately write out to the adapter/web server/browser.

Yes, I tried that, there was no difference. 



_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to