Re: Generating zipped or gzipped attachment with email package?
Oleg Broytmann <[email protected]>
| Newsgroups | gmane.comp.python.mime.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 21, 2009 at 08:36:41PM +0400, Oleg Broytmann wrote: > On Thu, May 21, 2009 at 11:23:10AM -0500, [email protected] wrote: > > I guess I'm asking if I can have the Content-Type still be text/csv with > > some other MIME header indicating the file is compressed. If so, how do I > > achieve that when attaching the compressed file to the message? > > Content-Encoding: gzip Sorry, it is for web. So it seems you need Content-Type: application/x-gzip Oleg. -- Oleg Broytmann http://phd.pp.ru/ [email protected] Programmers don't die, they just GOSUB without RETURN.