def google.appengine._internal.django.core.handlers.base.BaseHandler.apply_response_fixes |
( |
|
self, |
|
|
|
request, |
|
|
|
response |
|
) |
| |
Applies each of the functions in self.response_fixes to the request and
response, modifying the response in the process. Returns the new
response.
def google.appengine._internal.django.core.handlers.base.BaseHandler.handle_uncaught_exception |
( |
|
self, |
|
|
|
request, |
|
|
|
resolver, |
|
|
|
exc_info |
|
) |
| |
Processing for any otherwise uncaught exceptions (those that will
generate HTTP 500 responses). Can be overridden by subclasses who want
customised 500 handling.
Be *very* careful when overriding this because the error could be
caused by anything, so assuming something like the database is always
available would be an error.
def google.appengine._internal.django.core.handlers.base.BaseHandler.load_middleware |
( |
|
self | ) |
|
Populate middleware lists from settings.MIDDLEWARE_CLASSES.
Must be called after the environment is fixed (see __call__).
list google.appengine._internal.django.core.handlers.base.BaseHandler.response_fixes |
|
static |
Initial value:
2 http.fix_location_header,
3 http.conditional_content_removal,
4 http.fix_IE_for_attach,
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/_internal/django/core/handlers/base.py