I added them.
On Jan 30, 8:17 am, Anthony <[email protected]> wrote: > On Sunday, January 29, 2012 9:51:52 PM UTC-5, Massimo Di Pierro wrote: > > > You have to tell web2py what do to with the file. > > > If the file is in static and served by web2py you should download it > > with > > >http://..../filename?attachment > > > if it is served by your controller you must set the > > reponse.header['content-disposition']. > > I think the problem is that gluon.contenttype is missing some content > types, like .webm and .htc, which is a particular problem for static files > because there is no way to set it manually in that case. > > Apache maintains a fairly complete > list:http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?v... > (it includes .webm, but not .htc). I suppose we could also use the Python > mimetypes module (http://docs.python.org/library/mimetypes.html), which > automatically looks in the common locations for that Apache file as well as > other linux mime.types files (and you can call mimetypes.init(files=[list > of files]) to point it to specific files to load with the mimetype data). > > Anthony

