App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine._internal.django.core.handlers.base.BaseHandler Class Reference
Inheritance diagram for google.appengine._internal.django.core.handlers.base.BaseHandler:
google.appengine._internal.django.core.handlers.modpython.ModPythonHandler google.appengine._internal.django.core.handlers.wsgi.WSGIHandler

Public Member Functions

def __init__
 
def load_middleware
 
def get_response
 
def handle_uncaught_exception
 
def apply_response_fixes
 

Static Public Attributes

list response_fixes
 

Member Function Documentation

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__).

Member Data Documentation

list google.appengine._internal.django.core.handlers.base.BaseHandler.response_fixes
static
Initial value:
1 = [
2  http.fix_location_header,
3  http.conditional_content_removal,
4  http.fix_IE_for_attach,
5  http.fix_IE_for_vary,
6  ]

The documentation for this class was generated from the following file: