Twisted
stable
  • Installing Twisted
  • Twisted Core
  • Twisted Conch (SSH and Telnet)
  • Twisted Mail (SMTP, POP, and IMAP)
  • Twisted Names (DNS)
  • Twisted Pair
  • Twisted Web
    • Developer Guides
      • Overview of Twisted Web
      • Configuring and Using the Twisted Web Server
      • Web Application Development
      • HTML Templating with twisted.web.template
      • Creating XML-RPC Servers and Clients with Twisted
      • Twisted Web In 60 Seconds
        • Serving Static Content From a Directory
        • Generating a Page Dynamically
        • Static URL Dispatch
        • Dynamic URL Dispatch
        • Error Handling
        • Custom Response Codes
        • Handling POSTs
        • Other Request Bodies
        • rpy scripts (or, how to save yourself some typing)
        • Asynchronous Responses
        • Asynchronous Responses (via Deferred)
        • Interrupted Responses
        • Logging Errors
        • Access Logging
        • WSGI
        • HTTP Authentication
        • Session Basics
        • Storing Objects in the Session
        • Session Endings
      • Light Weight Templating With Resource Templates
      • Using the Twisted Web Client
      • Glossary
    • Examples
  • Twisted Words (IRC and XMPP)
  • API Reference
  • Historical Documents
Twisted
  • »
  • Twisted Web »
  • Developer Guides »
  • Twisted Web In 60 Seconds
  • Edit on GitHub

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

Next Previous

© Copyright 2022, Twisted Matrix Labs. Ver 22.4.0. Built on 2022-04-11. Revision ed86633a.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable
Versions
latest
stable
twisted-22.4.0
twisted-22.2.0
twisted-22.1.0
twisted-21.7.0
twisted-21.2.0
twisted-20.3.0
twisted-19.7.0
twisted-19.2.0
twisted-19.10.0
twisted-18.9.0
twisted-18.7.0
twisted-18.4.0
twisted-17.9.0
twisted-17.5.0
twisted-17.1.0
twisted-16.6.0
twisted-16.5.0
twisted-16.4.1
twisted-16.3.2
twisted-16.2.0
twisted-16.1.1
twisted-16.0.0
twisted-15.5.0
twisted-15.4.0
twisted-15.3.0
twisted-15.2.1
twisted-15.1.0
twisted-15.0.0
twisted-14.0.2
Downloads
pdf
epub
On Read the Docs
Project Home
Builds