Webware for Python 0.5
Application.config now has these settings: [Chuck]
'UnknownFileTypes': { 'ReuseServlets': 1, # Technique choices: # serveContent, redirectSansAdapter 'Technique': 'serveContent', # If serving content: 'CacheContent': 1, 'CheckDate': 1, },
So by default, a particular file with an unknown type (*.html, *.gif, etc.):
The previous version of all this never cached the contents of the file.
Note that 'CheckDate'=0 is currently circumvented, because the application always checks the date of the server side file and makes a new servlet if it's newer. I think that behavior is ultimately "wrong" and needs further investigation.
RedirectSansAdapter is not likely to be a popular option, but I still provided it. Docs can be found in UnknownFileTypeServlet.py:UnknownFileTypeServlet.redirectSansAdapter().
Added SessionDynamicStore and made it the default session store. It will move inactive, but unexpired sessions out of memory and onto disk. In support of this functionality, the following configuration options have been added to Application.config: [Jay L]
We don't track every change to the interface, but here are some notables: