Source

CherryPy / cherrypy / _cphttptools.py

Author Commit Message Labels Comments Date
Michael Robinson
implimented changes needed to re-close ticket:288
Robert Brewer
Fix for ticket #300 (better help msg for test suite).
Michael Robinson
implimented fumanchus final suggestions for ticket:288
Michael Robinson
ticket:288 changes merged into trunk, deleted httperrors branch, added assertErrorPage to CPWebCase
Remi Delon
Fixed #291
Remi Delon
Implemented ticket #90 (still need to write docs though)
Robert Brewer
Fix for #208; HTTPRedirect can now be raised in error handlers.
Robert Brewer
Reversed httperrors references in bareError (which must not be allowed to fail).
Remi Delon
Leave TypeError exceptions as they are
Michael Robinson
fixed ticket:285, made cgi.maxlen global, as recommended in ticket:90
Michael Robinson
HTTPClientError renamed HTTPStatusError, removed some outdated session documentation
Michael Robinson
merged some httperror changes that got left out of the first merge
Michael Robinson
improvments to the http errors tutorial (10), minor cleanups of the http error code.
Michael Robinson
httperrors branch merged into the trunk, the configuration paramater "showTracebacks" is now "server.showTracebacks"
John P. Speno
Added cherrypy.request.remotePort; the TCP port from which the client's
Robert Brewer
Moved fileGenerator, httpdate, serve_file, and get_ranges from _cphttptools to cptools (now HTTPDate, serveFile, and getRanges). serveFile has new contentType, disposition, and name arguments, and now returns cherrypy.response.body.
Robert Brewer
Changed locals "req", "resp" to "request", "response" for better grep-ability.
Robert Brewer
Forgot to re-raise TypeErrors in main() if they don't match the regex (see changeset [558]).
Robert Brewer
Cleaned _cphttptools.main() for more-readable tracebacks.
Robert Brewer
1. Partial fix for #248; the request path is now %XX-decoded as soon as possible (was in mapPathToObject). This means config sections can now be decoded, as well (e.g. you should now write [/this path] instead of [/this%20path]).
Robert Brewer
Stage 2 fix for ticket #257: access messages are only printed to the error.log if access.log is not defined. This should allow smooth migration to 2.1, and that block can be removed for 2.2.
Robert Brewer
Fix for ticket #188 (cleaner exception on invalid page-handler parameters). This currently only traps "unexpected keyword", but there may be other common errors that could be added later.
Robert Brewer
All raised exceptions now conform to "raise Exception([arg])" syntax (no more "raise Exception" or "raise Exception, arg". See http://mail.python.org/pipermail/python-dev/2005-August/055687.html for Guido's pronouncement, which is now part of PEP 8.
Robert Brewer
1. Initial support for partial GET (Range request header): new _cphttptools.get_ranges() function for use in page handlers and serve_file().
Robert Brewer
Server-side image maps (ISMAP) now supported. Coordinates are coerced to int and passed as 'x' and 'y'.
Robert Brewer
New "showTracebacks" config option.
Robert Brewer
Fix for ticket #239.
Robert Brewer
1. First stage of new access.log (ticket #257). Access log must be enabled in config. Old log not affected (yet).
Robert Brewer
Changed virtualhostfilter from beforeRequestBody to onStartResource, now that request.path is available so early.
Robert Brewer
Request-URI of "*" can now be served by an exposed "cherrypy.root._global" method.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next