On Jan 29, 2012, at 1:49 PM, Magnitus wrote: > The problem is with web2py. > > I changed 'contenttype.py' in gluon and added '.webm': 'video/webm' to the > list. > > If the necessary changes could be made to the trunk so that I don't have to > do the above modification to my copy each time I download the latest version > of the framework, it would be appreciated.
You could also try: from gluon.contenttype import CONTENT_TYPE CONTENT_TYPE['.webm'] = 'video/webm' presumably early in db.py, depending on when it was needed. Unless that's too late in some case.