Commits

Show all
Author Commit Message Labels Comments Date
Default avatar Christian Wyglendowski
Merged _cpengine fix in [1246] into cp3-wsgi-remix branch.
Branches
cp3-wsgi-remix
Default avatar Christian Wyglendowski
Fixed an issue with wrapping plain WSGI callables and removed some pre-remix code.
Branches
cp3-wsgi-remix
Default avatar Christian Wyglendowski
Created a branch for some WSGI related ideas that I have implemented.
Branches
cp3-wsgi-remix
Robert Brewer avatarRobert Brewer
Lots of mixedCase to lower_with_underscores.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #547 (serve_file still uses contentType instead of content_type). Thanks, michele!
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #408 (SessionFilter doesn't check result of generateSessionID() against sessionStorage).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #489 (secure session key). os.urandom is used when available.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Further CP3 fix for #541; urlparse now sets wsgi.url_scheme if available.
Branches
cherrypy
Sylvain Hellegouarch avatarSylvain Hellegouarch
Fixed missing access log for global configuration
Branches
cherrypy
Robert Brewer avatarRobert Brewer
More-explicit error when illegally passing positional arguments to tool decorators. Also, a new tool test for multiple decorators with kwargs.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Changed LateParamPageHandler to use a property instead of __getattribute__ (thanks, michele!) and added a docstring.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
X-Forwarded-For should overwrite remote.ip, not remote.name.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Revamped session module. Much better tests. Cleanup is now in a separate, cycling Timer thread (with an entry in on_stop_engine_list). Moved cherrypy.request._session to cherrypy.serving.session.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New deadlock monitor which sets Response.timed_out to True if Response.time < now - config.get("deadlock_timeout"). The request thread periodically checkes Response.timed_out and raises TimeoutError if it is True. Current checks are in HookMap.run, Request.respond, Body.__set__, and Response.finalize, more can be added later if needed.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Missing call to request.close() on KeyboardInterrupt, SystemExit within buffered page handler.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Moved request.handler from a function (with vpath, and request.params included in cell refs) to an instance of a callable PageHandler class (with vpath, params included as .args, .kwargs attributes). Instances of HTTPRedirect and HTTPError (including NotFound) can now also be set directly as request.handler (they raise self when called).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed dependency on pyconquer inside test_states.
Branches
cherrypy
Default avatar Christian Wyglendowski
Giving NotReadyRequest a protocol attribute.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
New server.socket_timeout config entry, thanks to Albert Visagie. See http://groups.google.com/group/cherrypy-devel/browse_frm/thread/ef761a8063cdc72b
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Replaced request.remote_addr, remote_port, and remote_host with a single "remote" attribute, an instance of lib.http.Host, which has "ip", "port" and "name" attributes. Added a similar request.local attribute. Changed request() signature to (local, remote, scheme). This allows requests run behind multiple HTTP servers to know the address info for their particular connection.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
WSGI-related changes:
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Split process_request_body into two flags instead (new request.body_read flag to signal that the request body has already been read).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Eliminated 'default_content_type' config entry by moving tools.response_headers to on_start_resource. If anyone still needs response headers to be set late, they can call tools.response_headers later, either in code or via a hook declared in config.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Removed last useless cherrypy.debug test.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #438 (autoreload.py: Server fails to start if a .pyc is imported with no corresponding .py).
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Changed server.start to server.quickstart, and server.start_all to server.start.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
CherryPyWSGIServer now clears its interrupt on start().
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for #537 (Support for listening on multiple ports). cherrypy.server now has no "httpserver" attribute; instead, it has an "httpservers" attribute, a dict of the form {server object: bind_addr} where bind_addr is usually (host, port). New start_all method. Calling stop stops all httpservers, and restart stops all then restarts all.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Better docstring for CherryPyWSGIServer.
Branches
cherrypy
Robert Brewer avatarRobert Brewer
Fix for testExpiresTool when behind Apache.
Branches
cherrypy
  1. Prev
  2. Next
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.