Support for "Content-disposition" header (RFC 2138)
commitc45da9e33a0e58c2b65427b188bf4c69c613bafd
authorThomas Perl <thp@thpinfo.com>
Sun, 6 Sep 2009 14:38:40 +0000 (6 16:38 +0200)
committerThomas Perl <thp@thpinfo.com>
Sun, 6 Sep 2009 14:38:40 +0000 (6 16:38 +0200)
treecab26fe96ae04a27344c72b40dd118c236a508bf
parent4dd0964ad3cc63ca27096b9eb513233872b77c20
Support for "Content-disposition" header (RFC 2138)

Add support for renaming files according to the
Content-disposition header after download has
completed and correct mimetype based on the name.
src/gpodder/download.py
src/gpodder/model.py