We know that you can specify the default flavour to use in the
config.py file with the default_flavour
property. We know that the user can specify which flavour to use by the file
extension of the URI. We also know that the user can specify which flavour
to use by using the flav
variable in the query string.
The order in which we figure out which flavour to use is this:
look at the URI extension: if the URI has one, then we use that.
look at the flav
querystring variable: if there is one,
then we use that.
look at the default_flavour
property in the
config.py file: if there is one, then we use that.
use the html flavour