On Thu, Jan 29, 2009 at 7:59 PM, João Henriques (Madeira!)
<[email protected]> wrote:

>
>     web.header('Content-Type', 'application/zip')

I would also suggest sending with that two extra HTTP header:

Content-Disposition: attachment; filename="whateverMyFileNameIs.Extension"
Content-Length: 65535

Now you'll get a prompt with correct file name and your browser will
be able to tell how much is to download (so you get progress bar and
est. time)

--
ʎɹnʇɐuƃʎs ɐɾɔɐzılıqɐʇsǝp
ıʞsʍoʞıuoɹq-ulǝddo lıɯǝ

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to