Source

CherryPy / cherrypy / _cphttptools.py

Author Commit Message Labels Comments Date
Remi Delon
Deprecating simpleCookie (use "simple_cookie" instead)
Remi Delon
Reverting changeset [926]: Removing "is_app_root" proof of concept since we decided to go with the tree.mount() route for now.
Remi Delon
Proof of concept idea to handle multiple apps: adding a cherrypy.url() function and a is_app_root class attribute for apps
Robert Brewer
Changed camelCase "streamResponse" to lowercase "stream_response".
Robert Brewer
Fix for #362 (Filters do not guarantee all methods are run (when errors occur)).
Robert Brewer
Fix for #145. See the ticket for details about this fix.
Robert Brewer
Made custom Request subclasses easier to implement:
Remi Delon
Fix for #416. The default favicon.ico is now served by a default static_filter entry in the default config (much cleaner than making a special case for favicon.ico in the code).
Robert Brewer
New signature for cherrypy.log.
Remi Delon
More PEP 8 (including objectPath -> object_path); Changed virtualhostfilter to conform to PEP8; Fixes to sessionauthenticatefilter
Robert Brewer
Fix for #186 (allow exceptions to escape CP and up into WSGI middleware).
Robert Brewer
Fix for #55. The before_main filter hook can now raise InternalRedirect.
Remi Delon
Forgot browserUrl in camelCase to lowercase conversion
Sylvain Hellegouarch
you can now define the default content type to be used globally by all responses using server.default._content_type
Remi Delon
Restored backward compatibility for custom filters (was broken in [856])
Remi Delon
Big change: camelCase to lower_with_underscore names (still need to update the book)
Robert Brewer
Fix for the fix for #311 (onEndRequest method). {{{__del__}}} cannot work, since it might be called after the thread has already begun processing another request.
Robert Brewer
Fix for #388 (IPv6 support). While I was up to my elbows in the HTTP servers, I went ahead and:
Robert Brewer
Fix for #311 (filter method which runs after the response is completely written (or aborted)). New 'onEndRequest' filter method. HTTP SERVERS SHOULD NOW CALL request.close() when they are done writing out.
Robert Brewer
Made response.body into a descriptor:
Robert Brewer
Made some Request.run arg assignments sooner.
Robert Brewer
The added page_handler arg should be last, not first.
Robert Brewer
Exceptions in page handlers now add the page_handler callable to the Exception's args.
Robert Brewer
Fix for #393 (in trunk).
Robert Brewer
Modified _cpGlobalInformation to _cpGlobalHandler, and moved its call from _cphttptools to _cputil.get_object_trail. Also made it handle all methods, and fixed the NameError it was generating, and wrote a test.
Robert Brewer
Bah. headerMap.elements is better than request.header_elements. This way it's available for request and response headers.
Robert Brewer
Merged ExpectValue and AcceptValue into new HeaderElement class. Added request.header_elements method.
Robert Brewer
Logging of request headers:
Sylvain Hellegouarch
Moved the code handling OPTIONS * request to _cputil to a special function attribute called _cpGlobalInformation.
Robert Brewer
httptools.Version object now takes ints and floats as constructor args (and therefore can compare against ints and floats, now). Also moved cherrypy.request/response.version logic from processHeaders to processRequestLine.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. Next