Commits

Show all
Author Commit Message Labels Comments Date
Robert Brewer
tool docstrings.
Robert Brewer
Default ACTUAL_SERVER_PROTOCOL to "HTTP/1.1". If None, then Request.run fails with "unsubscriptable object".
Robert Brewer
Don't log HTTPError or redirect in hookmap.run().
Robert Brewer
Fix to etags when 412 has already been raised.
Robert Brewer
Touch-up to test suite help (closes #333 (run test suite on arbitrary port)).
Sylvain Hellegouarch
Added mising request_line when exception is raised
Robert Brewer
Minor chunked encoding fix, plus test suite fixes for cpmodpy.
Robert Brewer
Fixed the HTTP/1.0 test suite. This involved moving wsgi SERVER_PROTOCOL back (to what the spec says!) and adding a new non-standard ACTUAL_SERVER_PROTOCOL entry.
Robert Brewer
Fix to test suite longopts.
Robert Brewer
Fix for #555 (Error propagation in hooks). Failsafe flags are now per-callback, not per-callpoint. If you want a given hook to be failsafe, either set callback.failsafe = True or (if you cannot do that) call attach(point, callback, failsafe=True). The previous semantic of 'failsafe' unfortunately also meant 'fail silently'. This has been corrected; now, when errors occur during the run of callbacks for a given call point, the last one will be raised (after all failsafe callbacks have completed).
Robert Brewer
Fix for #553 (pure WSGI apps on the tree). Request.app now MUST be a cherrypy.Application instance (not None) before Request.run() is called.
Robert Brewer
Support for max_request_body_size when decoding chunked request body (also fixes a long-standing bug when max header size exceeded).
Robert Brewer
Fix for #497 (decode a "Transfer-Encoding: chunked" request).
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. Deleted test_wsgiapp.py. test_wsgiapps.py is just an extended test_wsgiapp.py. It is doing more than testing the features in lib/wsgiapp.py now though, so when I was working on my branch, I thought a new name was in order.
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: 1. cherrypy.Application is now a WSGI callable. 2. cherrypy.tree may now be used as a WSGI dispatcher by simply calling it. This replaces the _cpwsgi.wsgiApp function. 3. You may now mount arbitrary WSGI apps using tree.graft(wsgi callable, script name). 4. If you set an Application object's script_name to None, it will try to pull script_name from cherrypy.request.wsgi_environ['SCRIPT_NAME'].…
Robert Brewer
No need to calc vpath if NotFound.
Christian Wyglendowski
Engine.monitor_thread defaults to None now. This is in case an Exception is raised in an on_start_engine function and the code to start/stop the engine is wrapped in a try/finally, where Engine.stop is called in finally.
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
  1. Prev
  2. Next