Entry point for dispatching web requests.
The WSGI compliant callable. It adapts the environ information passed from the WSGI gateway and retrieve the appropriate Environment from it, creates a Request instance and let the RequestDispatcher component forward it to the component implementing a matching IRequestHandler.
Main entry point for the Trac web interface.
Parameters: |
|
---|
Web request dispatcher.
This component dispatches incoming requests to registered handlers. Besides, it also takes care of user authentication and request pre- and post-processing.
List of components that implement IAuthenticator
The date format. Valid options are ‘iso8601’ for selecting ISO 8601 format, or leave it empty which means the default date format will be inferred from the browser’s default language. (‘’since 1.0’‘)
Name of the component that handles requests to the base URL.
Options include TimelineModule, RoadmapModule, BrowserModule, QueryModule, ReportModule, TicketModule and WikiModule. The default is WikiModule. (‘’since 0.9’‘)
The preferred language to use if no user preference has been set. (‘’since 0.12.1’‘)
The default timezone to use
Find a registered handler that matches the request and let it process it.
In addition, this method initializes the data dictionary passed to the the template and adds the web site chrome.
Ordered list of filters to apply to all requests (‘’since 0.10’‘).
List of components that implement IRequestHandler
When true, send a X-Sendfile header and no content when sending files from the filesystem, so that the web server handles the content. This requires a web server that knows how to handle such a header, like Apache with mod_xsendfile or lighttpd. (‘’since 1.0’‘)
The header to use if use_xsendfile is enabled. If Nginx is used, set X-Accel-Redirect. (‘’since 1.0.6’‘)
A request that saves its associated session when sending the reply.
Create the request wrapper.
Parameters: |
|
---|
Retrieve canonical environment name to path mapping.
The environments may not be all valid environments, but they are good candidates.
Return the list of patterns from env_parent_dir/.tracignore or a default pattern of ".*" if the file doesn’t exist.