Ville Vainio wrote:
It looks like setuptools determines the name of the file from the URL.On 3/13/06, Phillip J. Eby <[EMAIL PROTECTED]> wrote: I use a Python CGI to serve my files for download. This means that anyone attempting : easy_install "http://www.voidspace.org.uk/cgi-bin/voidspace/downman.py?file=configobj.py" Gets an egg containing 'downman.py'. The CGI does send the correct http header containing the filename : Content-Type: application/octet-stream Content-Disposition: attachment; filename= "%s" Content-Length: %s Shouldn't setuptools honour the "Content-Disposition" header ? All the best, Michael Foord http://www.voidspace.org.uk/python/index.shtml |
_______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
