Commits

Author Commit Message Labels Comments Date
Robert Brewer
cptools.session_auth was growing an unwieldy number of parameters, so I moved it from a functional approach to an object. Also moved _cptools.setargs to Tool._setargs.
Robert Brewer
Fix for #556 (Allow error hooks to raise InternalRedirect). As a bonus, all uncaught errors in Request.run now get a fallback handler (before only errors in handle_error got that).
Robert Brewer
Fixed line endings in test_wsgi_ns.py.
Robert Brewer
Fix for #535 (Apache re-processes Range headers). _cpmodpy now uses a new "ignore_headers(['Range'])" Tool by default.
Robert Brewer
Fix to 2.1, 2.2, 3.0 for bugs in Range slicing and final boundary. Also made the output match Apache output (CRLFs).
Robert Brewer
Typos in test/modpy.py imports.
Robert Brewer
Fix for #560 (misleading log on socket_host="") for CP 2.2 and CP 3.
Robert Brewer
Fix for #527 (fragments in Request-URI). The builtin WSGI server now returns "400 Bad Request".
Robert Brewer
Fix for # 255 (use output from tidy). Untested, but then it never was before. :/
Robert Brewer
Fix for #506 (unrepr should support negative numbers).
Robert Brewer
Changed every instance of 'conf' in the API to 'config'.
Robert Brewer
Fix for #559 (allow config of WSGI middleware) via cherrypy.wsgi.pipeline. Includes tests.
Robert Brewer
Moved _wsgi_callable to _cptree, and we now import _cpwsgi as cherrypy.wsgi. Also made {{{App.__call__}}} route to {{{App.wsgiapp}}} so the latter can be replaced by user code (i.e. it's not a special method).
Joseph Tate
Derive all exceptions from a CP defined class so that they can be handled as a group by CP applications
Robert Brewer
Global log.screen now True.
Robert Brewer
No need to encode a string twice. :/
Robert Brewer
Moved merge out of {{{Application.__init__}}} so custom namespaces can be defined per-app. Also allow Tree.mount to accept an Application instance (instead of a root which gets wrapped in an Application).
Robert Brewer
raise ValueError on cherrypy.server.start() if no httpservers defined.
Robert Brewer
Fix for #433 (mapPathToObject should remove a trailing /, not just add it). CP 3 only. Configurable now via request.redirect_on_extra_slash and request.redirect_on_missing_slash. Also broke the slash logic out of find_handler, so it's more reusable.
Robert Brewer
Changed "simple_cookie" to just "cookie".
Robert Brewer
Removed trunk/docs/book folder, as that won't be upgraded for CP 3.
Robert Brewer
Fix for #557 (socket_file). We should talk about a server.socket_family attribute sometime.
Robert Brewer
Oops. Was using old autoreload conf keys.
Robert Brewer
Fix to CachingTool for new kwargs.
Robert Brewer
New test for default handler when using MethodDispatcher.
Robert Brewer
A couple doc tweaks.
Robert Brewer
Oops.
Robert Brewer
New tools.err_redirect.internal arg.
Robert Brewer
Oops. Forgot the namespaces for cherrypy.tree.
Robert Brewer
Allow dynamic custom config namespaces.
  1. Prev
  2. Next