mspieth / rssdler

Automatically exported from code.google.com/p/rssdler
4 stars 0 forks source link

Octet-Stream Mimetype Causes .obj extension #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Downloading a file with the generic Content-Type header of
application/Octet-Stream (and probably similar) causes .obj to be appended
to the filename. if the filename is given in the content header, it is
probably appropriate to just return that, whereas if we are guessing the
filename from the url, just falling back to the mime-type we get from the
server is the next best option

Original issue reported on code.google.com by lostnihi...@gmail.com on 12 Dec 2007 at 3:58

GoogleCodeExporter commented 8 years ago
for a temporary fix, see rmObj in userFunctions.py.

Original comment by lostnihi...@gmail.com on 17 Dec 2007 at 11:49

GoogleCodeExporter commented 8 years ago
partial fix in 0.3.2 for names from HTTP header. However, if the name is from 
the
url, and content type is octet-stream, this will still occur.

Original comment by lostnihi...@gmail.com on 4 Jan 2008 at 3:22

GoogleCodeExporter commented 8 years ago

Original comment by lostnihi...@gmail.com on 7 Feb 2008 at 5:10