WebKit version 1.1 released on 08/03/11
UseDaemonThreads
.SessionShelveStore
(using the shelve module) and
SessionMemcachedStore
(using python-memcached).
The latter one is very useful if you want to share Webware sessions
between different app server instances. You can activate and configure
the new classes in Application.config.SilentURIs
you can specify request URIs for which you don't
want messages with request info to be printed in the server output.
By default, as earlier, all requests will appear in the server output.ReloadServletClasses
, when set to False
, can be
used to suppress reloading of servlet classes and utilizing the AutoReload
mechanism for reloading the servlet classes instead (Bug 3016673 reported
by Patrick Gendron).AlwaysSaveSessions
has been introduced that
can be set to False
in order to avoid saving unaltered sessions
(as suggested by Steve Schwarz).mx.DateTime
types, we now use the native
datetime types for cookie expiration in HTTPResponse
.runProfile = False
(see Profiler.py for details), then the
profiling will be done with the cProfile
module instead of
the profile
module if possible (Python 2.5 and later).Sessionstore.cleanStaleSessions()
method has been
made a bit more robust.AutoReloadingAppServer
, we do not add files more
than once to the watchlist any more. If a FAM module cannot be initialized,
we try to use the alternative FAM modules. Besides python-fam
and python-gamin
, we now support pyinotify
.asclocaltime
function has been from
WebKit.Common
to MiscUtils
.FieldStorage
class used by WebKit did not work
as before with Python 2.6 and newer. These Python versions already add query
string parameters to the fields passed via POST, but differently to how we
did this before. In WebKit, POST parameters used to completely override query
string parameters, the values were not appended to possibly existing values
in the query string. In order to stay compatible and because it seems to be
more reasonable, we restored the old behavior even for newer versions of
Python (thanks to Fionn Behrens for bringing this up).IncludeEditLink
setting had always been ignored
(assumed to be True).ServletCache
page in the Admin context did not show
anything when caching was not activated.HTTPRequest.ServerSideDir
, HTTPRequest.relativePath
,
HTTPRequest.servletFilePath
and HTTPResponse.addHeader
.
Removed support for the 404Text.txt
file name (it is called
error404.html
now) and the Port
setting (which is
AdapterPort
now).Object
root class for WebKit objects has gone.
It made things unnecessary complicated and did not contribute much
functionality besides named value access which hardly anyone was uning
and has now been removed anyway.WebKit.Common
module is also gone. It was
mostly used for creating backward compatibility with old Python versions
which is now not necessary any more. Also, wild card imports (as in
from Common import *
) are considered bad practice.