CGI "download" prompt?
Irmen de Jong
irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Fri Jul 25 12:33:52 EDT 2003
More information about the Python-list mailing list
Fri Jul 25 12:33:52 EDT 2003
- Previous message (by thread): CGI "download" prompt?
- Next message (by thread): CGI "download" prompt?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gerhard Häring wrote: > Erhm. Let's suppose you want to send an RTF file and have the browser > pop up a save dialog with a certain filename preconfigured: > > Then send these headers: > > Content-Type: application/rtf > Content-Disposition: attachment; filename=mydocument.rtf I didn't know about Content-Disposition! If this works, that's very nice-- especially if the filename part of that header is actually used by the web browser. --Irmen
- Previous message (by thread): CGI "download" prompt?
- Next message (by thread): CGI "download" prompt?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list