This set of examples contains short, complete applications of
twisted.web
. For subjects not covered here, see
the Twisted Web tutorial and the API
documentation.
- Serving static content from a directory
- Generating a page dynamically
- Static URL dispatch
- Dynamic URL dispatch
- Error handling
- Custom response codes
- Handling POSTs
- rpy scripts (or, how to save yourself some typing)
- Asynchronous responses
- Asynchronous responses (via Deferred)
- Interrupted responses
- Logging errors
- WSGIs
- HTTP authentication
- Session basics
- Storing objects in the session
- Session endings