Commits

Author Commit Message Labels Comments Date
Robert Brewer
Docs: more 2.2 updates: cptools, server.request, special attributes.
Robert Brewer
Docs: new config, error sections for 2.2.
Robert Brewer
Fix for #382 (autoreload call broken).
Robert Brewer
Fix for #376 (individual tests should set sys.path).
Robert Brewer
Fix for #363 (Request-URI of "*" now maps to root.global_ instead of root._global).
Robert Brewer
Fix for #378 (gzipfilter needs to set a Vary header).
Robert Brewer
Moved _cphttptools.KeyTitlingDict to lib.cptools.HeaderMap.
Robert Brewer
Fix for #357 (Pythonic access to Accept-* request headers). New cptools.getAccept function, which returns a list of AcceptValue objects (sorted in descending priority). GzipFilter rewritten to use it.
Robert Brewer
Moved these blocks out of _cphttptools.Request and into cptools: parseRequestLine, parseQueryString, paramsFromCGIForm. This should help filter authors and others re-use some of the nuts and bolts of CP.
Robert Brewer
Removed paramList attribute from request object. This should be handled entirely withint the xmlrpcfilter code (the core should not know about it).
Robert Brewer
Fix for #367 (error pages should reset response headers). And a new _cpOnHTTPError special attribute just for kicks.
Robert Brewer
Fix for #359 (custom errors have no args attribute).
Robert Brewer
Fix for #308 (configure autoreload's poll rate).
Robert Brewer
Fix for #374 (reduce license boilerplate to a single LICENSE.txt file).
Robert Brewer
Removing deprecated modules.
Robert Brewer
Fix for #372 (browserUrl and querystrings).
Remi Delon
Clean session in onEndResource instead of beforeFinalize
Remi Delon
When using generators and HTTPRedirect, beforeFinalize can get called twice ... Making the sessionfilter resilient to that.
Remi Delon
Stick logged-in user in cherrypy.threadData
Robert Brewer
Set svn:eol-style to "native" for all .py files. This should fix any line-ending problems for existing files: Windows users will receive CRLF endings when they check out files, and *nix users will receive LF endings. Whenever you "svn add" a new file, make sure its svn:eol-style property is "native"!
Robert Brewer
Fix for #356 (formalize server.environment as a set of config defaults). New server.logFileNotFound boolean.
Robert Brewer
Fix for #373 (arbitrary mount points, or "virtual roots"). All internal use of request.path has been changed to inspect request.objectPath instead (the "rewritten path"). The request.path should never be rewritten; instead, it should only be used to generate new URL's based on the original path. The request.originalPath attribute can now probably be deprecated.
Robert Brewer
New test for directory in staticfilter.
Robert Brewer
Merged /requestobj branch to trunk. cherrypy.serving.request and .response are now instances of _cphttptools.Request and .Response. ALL HTTP SERVER AUTHORS NEED TO UPGRADE THEIR INTERFACES to _cpserver.request as the signature has changed.
Robert Brewer
Enable complete testing of virtual roots. Set test.helper.vroot to "/vpath", for example, to run the whole test suite using that as a virtual mount point.
Robert Brewer
Fix (partial?) for #373. Fixes staticFilter.
Robert Brewer
Test and fix for #371 (Redirect of index method to trailing-slash URI uses the wrong path info).
Robert Brewer
New test to avoid future HTTP-verb-dispatch collisions. Needs to be updated if HTTP-verb-dispatch is ever implemented.
Robert Brewer
Docs: browserUrl also contains querystring if present.
Robert Brewer
New test for user-defined _cpFilterList's.
  1. Prev
  2. Next