Commits

Author Commit Message Labels Comments Date
Sylvain Hellegouarch
added an import for the time module which was missing
Sylvain Hellegouarch
Added support for the Expect header. The tests are disabled for it right now while I look for a workaround to a limitation from httplib
Robert Brewer
Positional params shouldn't replace '.' with '_'.
Robert Brewer
Fix for broken errorPage tests in Python 2.4.
Robert Brewer
Docs: more dispatch discussion.
Robert Brewer
Docs: new section on mapping URI's to handlers (for app developers). More to come soon.
Robert Brewer
Couple of bad mdash char's in apireference.
Robert Brewer
New positional params test for intermediate index methods (they shouldn't be called with positional params--use a "default" method instead).
Robert Brewer
New! Improved! Deprecated! request.originalParamMap.
Robert Brewer
Made request.browserUrl a read-only property, since it is a calculated value. If you want to change its value now, change request.base, path, or queryString.
Sylvain Hellegouarch
oops missed one little thing in the previous commit... duh!
Sylvain Hellegouarch
The Content-Length was not set correctly in beforeErrorResponse
Robert Brewer
Moved a bunch of stuff from lib/cptools into a new lib/httptools module. The new module does not reference cherrypy (and should never do so). Think of it as the httptools module Python should distribute. ;)
Robert Brewer
Fixed \xa0 bug in xmlrpcfilter.py which was introduced in [784].
Robert Brewer
Moved IE-friendly-error-fix from finalize method to HTTPError.
Sylvain Hellegouarch
The filter was not dealing with error raised within the application correctly. Now it does as expected. See http://www.cherrypy.org/wiki/XmlRpcIntrospection for an example.
Robert Brewer
1. Refactored mapPathToObject to be cleaner and faster. 2. Reinstated positional params on any exposed callable (if we decide to keep denying that, there's a single line to uncomment). 3. Changed _cputil.getObjectTrail to get_object_trail, with a different return value. 4. Removed _cputil.getSpecialAttributePath (not used).
Sylvain Hellegouarch
Set allow_none to false to disable None support in returned XMLRPC response
Sylvain Hellegouarch
Fixed the Content-Length bug (ticket 384)
Remi Delon
Changing version number for book
Robert Brewer
Removed duplicate error log write that was deprecated in 2.1.
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.
  1. Prev
  2. Next