Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



The WSGIApplication Class

The google.appengine.ext.webapp package provides the following classes:

class WSGIApplication ( url_mapping , debug = False )

A WSGI-compatible application that maps URL paths to RequestHandler classes. An App Engine CGI script creates a WSGIApplication object, then runs it using a WSGI CGI handler such as run_wsgi_app() .

Arguments

url_mapping
A mapping of URL paths to request handlers, as a list of tuples where each tuple is a path-to-handler mapping. The first element of the tuple specifies the URL path as a string. The second element of the tuple is the constructor of a request handler class, a subclass of RequestHandler .
debug
If True , the application runs in "debug mode." Primarily, this means that the request handler's handle_exception() method is called with debug_mode = True when the handler raises an exception, which prints debugging information to the web browser.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.