Truncate partial download file if resume is unsupported (bug 409)
commit0f249100551be7ceed282732516505fef8b13dfc
authorThomas Perl <thp@perli.net>
Tue, 5 May 2009 08:22:12 +0000 (5 10:22 +0200)
committerThomas Perl <thp@perli.net>
Tue, 5 May 2009 08:22:12 +0000 (5 10:22 +0200)
tree7fbb36b821398120fdec96875761dcede9549463
parentd4c3e47b08ff38aec04e07fcb7120488a6489d13
Truncate partial download file if resume is unsupported (bug 409)

When downloading files, make sure that the server sends
the correct content-range response header for the request.
If not, truncate the file and start from the beginning.
src/gpodder/download.py