Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Renamed httptools to "http" to reduce confusion with new cherrypy.tools. ↵ | Robert Brewer | 2006-06-12 | 1 | -487/+0 |
| | | | | Moved non-Tool-related code from cptools to {{{lib/__init__}}}. Added docstrings. | ||||
* | httptools.Version was overengineered. Shame on me. Using tuples gives a 2-3% ↵ | Robert Brewer | 2006-06-12 | 1 | -85/+21 |
| | | | | speed boost. | ||||
* | Removed cherrypy.NotReady. Instead, cherrypy.engine will return HTTP 503 ↵ | Robert Brewer | 2006-06-06 | 1 | -0/+4 |
| | | | | Service Unavailable, and cherrypy.server will raise IOError. | ||||
* | Made tree.Application.script_name, and it now defaults to "", not "/". | Robert Brewer | 2006-05-11 | 1 | -1/+3 |
| | |||||
* | Dispatch and config lookup now happens as early as possible, once per ↵ | Robert Brewer | 2006-05-10 | 1 | -2/+4 |
| | | | | request (unless InternalRedirect is raised). Also moved the logging code out of {{{_cputil}}} and into {{{__init__}}}. xmlrpc still needs fixed so it doesn't re-write path_info. | ||||
* | Lots of changes to error and log handling: | Robert Brewer | 2006-05-01 | 1 | -3/+3 |
| | | | | | | | | | | | 1. Removed RequestHandled and InternalError. 2. Error response is now overridable by replacing request.error_response. Tools should do this in setup(). 3. New request.log_access attribute. 4. Moved response.handleError to request.handle_error. 5. Logging of tracebacks and request headers are now tools. 6. New ErrorRedirect tool class. 7. Tools may now be anonymous (not necessary to be placed in tools module globals). 8. Continued the move to lower_with_underscores. | ||||
* | Extracted CaseInsensitiveDct base class out of HeaderMap. | Robert Brewer | 2006-03-25 | 1 | -6/+14 |
| | |||||
* | Renamed queryString into query_string | Remi Delon | 2006-02-16 | 1 | -5/+5 |
| | |||||
* | Fix for #456: No readlines() method in lib.httptools.SizeCheckWrapper | Robert Brewer | 2006-02-08 | 1 | -0/+13 |
| | |||||
* | Moved some logic (the transformation of response headers from a dict to a ↵ | Robert Brewer | 2006-02-07 | 1 | -0/+39 |
| | | | | list) out of _cphttptools and into httptools. | ||||
* | Fix #449 | Sylvain Hellegouarch | 2006-01-26 | 1 | -1/+1 |
| | |||||
* | Fix for #145. See the ticket for details about this fix. | Robert Brewer | 2006-01-03 | 1 | -0/+7 |
| | |||||
* | Fix for #361 (Misleading error message). | Robert Brewer | 2005-12-30 | 1 | -0/+6 |
| | |||||
* | Fix for #421 (Incorrect border condition in readline of SizeCheckWrapper). | Robert Brewer | 2005-12-29 | 1 | -6/+5 |
| | |||||
* | Fix for #388 (IPv6 support). While I was up to my elbows in the HTTP ↵ | Robert Brewer | 2005-11-28 | 1 | -0/+60 |
| | | | | | | | | | | servers, I went ahead and: 1. Implemented MaxSize limits in _cphttpserver 2. Made PooledThreadServer a subclass of CherryHTTPServer, which consolidated a lot of features that each had which the other didn't, including AF_UNIX support. 3. Implemented AF_UNIX support for _cpwsgiserver. 4. Pulled the MaxSize logic out of _cpwsgiserver completely; the upshot is that both server interfaces can now use the same wrapper (now in lib/httptools), and 413 errors in the headers are now logged by CP. 5. Implemented server.socketQueueSize for _cpwsgiserver. | ||||
* | Fix for #393 (in trunk). | Robert Brewer | 2005-11-16 | 1 | -2/+8 |
| | |||||
* | Bah. headerMap.elements is better than request.header_elements. This way ↵ | Robert Brewer | 2005-11-14 | 1 | -0/+7 |
| | | | | it's available for request and response headers. | ||||
* | Merged ExpectValue and AcceptValue into new HeaderElement class. Added ↵ | Robert Brewer | 2005-11-14 | 1 | -97/+60 |
| | | | | request.header_elements method. | ||||
* | httptools.Version object now takes ints and floats as constructor args (and ↵ | Robert Brewer | 2005-11-10 | 1 | -1/+7 |
| | | | | therefore can compare against ints and floats, now). Also moved cherrypy.request/response.version logic from processHeaders to processRequestLine. | ||||
* | Added support for the Expect header. The tests are disabled for it right now ↵ | Sylvain Hellegouarch | 2005-11-09 | 1 | -0/+50 |
| | | | | while I look for a workaround to a limitation from httplib | ||||
* | Moved a bunch of stuff from lib/cptools into a new lib/httptools module. The ↵ | Robert Brewer | 2005-11-05 | 1 | -0/+379 |
| | | | | new module does not reference cherrypy (and should never do so). Think of it as the httptools module Python should distribute. ;) | ||||
* | Removing deprecated modules. | Robert Brewer | 2005-10-31 | 1 | -46/+0 |
| | |||||
* | Fix for ticket #239. | Robert Brewer | 2005-08-11 | 1 | -4/+6 |
| | | | | | | 1. httptools.redirect() now raises HTTPRedirect(). 2. httptools.py is now formally deprecated. 3. HTTPRedirect now always outputs complete absolute URL's. | ||||
* | Implements ticket #195. | Robert Brewer | 2005-06-25 | 1 | -4/+4 |
| | | | | | | | | 1. cpg module removed, all content moved into cherrypy.__init__. 2. Removed some circular imports in sessionfilter by moving sessionfilter.sessionfilter and _sessionTypes into sessionfilter.__init__. 3. renamed _cpconfig to "config". 4. renamed _cpserver to "server". 5. renamed cperror to _cperror; cherrypy.__init__ now imports * from _cperror. | ||||
* | Merged branches/ticket-151 into trunk. See CHANGELOG and the branch logs for ↵ | Robert Brewer | 2005-06-01 | 1 | -1/+1 |
| | | | | details. | ||||
* | Fixed bug in httptools.redirect | Remi Delon | 2005-04-26 | 1 | -1/+1 |
| | |||||
* | Fixed ticket #123; now using urlparse.urljoin for concatenating urls; added ↵ | Remi Delon | 2005-04-24 | 1 | -14/+2 |
| | | | | a test for httptools.redirect() | ||||
* | Refactored the httptools.redirect coderdelon-experimental | Remi Delon | 2005-01-10 | 1 | -14/+19 |
| | |||||
* | Don't copy tutorial/ and test/ into lib when installing CherryPy | Remi Delon | 2005-01-06 | 1 | -1/+1 |
| | |||||
* | \r\n > \n again, after header patch | Remco Boerma | 2004-12-29 | 1 | -51/+51 |
| | |||||
* | Changed notices to 79 chars wrap. | Remco Boerma | 2004-12-29 | 1 | -36/+51 |
| | |||||
* | small fixes for new cpg.response.body iterable type; getting ready for ↵ | Remi Delon | 2004-12-29 | 1 | -1/+1 |
| | | | | 2.0.0b release | ||||
* | Fixed ticket #29 | Remi Delon | 2004-11-23 | 1 | -8/+7 |
| | |||||
* | (no commit message) | Remi Delon | 2004-11-20 | 1 | -0/+37 |