Twisted Web In 60 Seconds — Twisted 15.4.0 documentation
Description: An event-driven networking engine written in Python and MIT licensed.

HOME FAQ DOCS DOWNLOAD

### Navigation

- index
- next |
- previous |
- Twisted 15.4.0 documentation »
- Twisted Web »
- Developer Guides »

Go to the latest version of this document.

# Twisted Web In 60 Seconds

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.

1. Serving static content from a directory
2. Generating a page dynamically
3. Static URL dispatch
4. Dynamic URL dispatch
5. Error handling
6. Custom response codes
7. Handling POSTs
8. Other request bodies
9. rpy scripts (or, how to save yourself some typing)
10. Asynchronous responses
11. Asynchronous responses (via Deferred)
12. Interrupted responses
13. Logging errors
14. Access logging
15. WSGIs
16. HTTP authentication
17. Session basics
18. Storing objects in the session
19. Session endings