The first level of handling is the index function of the root class. This function in its simplest form, controls what will be returned when just the domain name of the server is requested. When the index function takes only one parameter it will answer only for the domain name, however it may take parameters. If all parameters have default values the index function will still answer for the domain name otherwise the parameters will need to be given values in the url. values may be given by position or by name using the scheme ?paramname=value. The index function can defined to take an unknown number of parameters if defined with def index(self,*args). In this case the function would have to examine the arguments given and generate a page accordingly.