Commits

Author Commit Message Labels Comments Date
Robert Brewer
Better support for Expect/100 Continue.
Robert Brewer
Missing svn:eol-style on some files.
Robert Brewer
More tests for persistent connections, including pipelining.
Robert Brewer
Better to delay 404 due to unknown script name.
Robert Brewer
Fix for #551 (_cpwsgiserver should handle persistent connections). All of CP should now default to HTTP/1.1. Some tests still need to be written, and 1.0 support reviewed throughout, but the basics work.
Christian Wyglendowski
Fix for #552.
Robert Brewer
Moved some Apache control code from benchmark to _cpmodpy, where it can be more useful.
Robert Brewer
Cosmetics.
Robert Brewer
WSGI improvements from Christian's cp3-wsgi-remix branch:
Robert Brewer
No need to calc vpath if NotFound.
Christian Wyglendowski
Engine.monitor_thread defaults to None now.
Robert Brewer
Lots of mixedCase to lower_with_underscores.
Robert Brewer
Fix for #547 (serve_file still uses contentType instead of content_type). Thanks, michele!
Robert Brewer
Fix for #408 (SessionFilter doesn't check result of generateSessionID() against sessionStorage).
Robert Brewer
Fix for #489 (secure session key). os.urandom is used when available.
Robert Brewer
Further CP3 fix for #541; urlparse now sets wsgi.url_scheme if available.
Sylvain Hellegouarch
Fixed missing access log for global configuration
Robert Brewer
More-explicit error when illegally passing positional arguments to tool decorators. Also, a new tool test for multiple decorators with kwargs.
Robert Brewer
Changed LateParamPageHandler to use a property instead of __getattribute__ (thanks, michele!) and added a docstring.
Robert Brewer
X-Forwarded-For should overwrite remote.ip, not remote.name.
Robert 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.
Robert 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.
Robert Brewer
Missing call to request.close() on KeyboardInterrupt, SystemExit within buffered page handler.
Robert 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).
Robert Brewer
Removed dependency on pyconquer inside test_states.
Christian Wyglendowski
Giving NotReadyRequest a protocol attribute.
Robert Brewer
New server.socket_timeout config entry, thanks to Albert Visagie. See http://groups.google.com/group/cherrypy-devel/browse_frm/thread/ef761a8063cdc72b
Robert 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.
Robert Brewer
WSGI-related changes:
Robert Brewer
Split process_request_body into two flags instead (new request.body_read flag to signal that the request body has already been read).
  1. Prev
  2. Next