Author Commit Message Labels Comments Date
Default avatar Remi Delon
Added "on_login" and "on_logout" callbacks to sessionauthenticatefilter
Robert Brewer avatarRobert Brewer
cherrypy.tree.mount_points now includes {"/": cherrypy.root} even if tree.mount is never called.
Robert Brewer avatarRobert Brewer
Docs: cherrypy.tree
Robert Brewer avatarRobert Brewer
A couple tests for a default method with no corresponding index method.
Robert Brewer avatarRobert Brewer
Final fix for #461 and #455:
Default avatar Christian Wyglendowski
[965] is the first of two changesets to modify some internal behavior. Unfortunately, it temporarily broke CP in the process. This changeset is a temporary fix to that temporary problem which Robert is addressing more completely.
Robert Brewer avatarRobert Brewer
Implemented #461 (CPWSGIServer should route multiple apps). This allows you to instantiate a WSGIServer with multiple apps; however, _cpserver still needs to be upgraded to "do that for you". I'll do that in a separate commit.
Default avatar Remi Delon
Fixed typo in session_filter preventing people from overwritting generate_session_id
Default avatar Remi Delon
Use "expires" instead of "max-age" for storing session cookie, due to IE bug :(
Robert Brewer avatarRobert Brewer
Fix for #456: No readlines() method in lib.httptools.SizeCheckWrapper
Default avatar Remi Delon
Don't disable sessions automatically if static_filter is enabled ... Some people may want to use session_authenticate_filter for serving static content so they need sessions in that case ... Note that in the most common case (ie: not needing sessions for serving static content), the session data won't be loaded/saved due to the new lazy session data handling (see [940]), so there won't be any speed penalty
Default avatar Christian Wyglendowski
1. Removed request.wsgi_environ from _cphttpserver.
Default avatar Remi Delon
Fixed small bug in session filter
Robert Brewer avatarRobert Brewer
Moved some logic (the transformation of response headers from a dict to a list) out of _cphttptools and into httptools.
Robert Brewer avatarRobert Brewer
Less-confusing text in tut09_files.py docstring.
Robert Brewer avatarRobert Brewer
Test that configs for multiple apps (using the tree.mount syntax) don't collide.
Robert Brewer avatarRobert Brewer
Oops. Forgot to take out a debug line.
Robert Brewer avatarRobert Brewer
Fix for server.start lowercase names (serverClass = None is different than serverClass = missing).
Default avatar Christian Wyglendowski
When running under _cphttpserver, request.wsgi_environ is now set to an empty dictionary. It will still evaluate as boolean False, but will allow for the following code:
Default avatar Christian Wyglendowski
API doc entry for cherrypy.request.wsgi_environ
Default avatar Christian Wyglendowski
Added new cherrypy.request.wsgi_environ attribute that contains a dictionary of the WSGI environment (surprise, surprise). In a non-WSGI setting wsgi_environ has a value of False.
Default avatar Remi Delon
Preparing for 2.2.0beta release
Tags
cherrypy-2.2.0beta
Default avatar Remi Delon
Added "cherrypy.lowercase_api" switch so that users can say "I'm using the new lowercase API" and get a (small) speed boost from it.
Robert Brewer avatarRobert Brewer
Fixes for header.elements now returning [] instead of None.
Sylvain Hellegouarch avatarSylvain Hellegouarch
Fix #449
Default avatar Remi Delon
Better document session.acquire_lock()
Default avatar Remi Delon
Deprecated "initOnly" and "serverClass". New names are "init_only" and "server_class"
Default avatar Remi Delon
Deprecating simpleCookie (use "simple_cookie" instead)
Default avatar Remi Delon
Wrote script to test the session filter in a realistic situation. The script simulates lots of concurrent requests *from the same browser*. Right now this script is standalone and is not integrated in the test suite. This script already allowed me to catch bugs in the sessionfilter.
Default avatar Remi Delon
Improvements to sessionfilter: using lazy loading of session data (so data is never loaded/saved if user doesn't access it). Make acquire_lock work as expected.
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.