GlossaryΒΆ

This glossary is very incomplete. Contributions are welcome.

resource

An object accessible via HTTP at one or more URIs. In Twisted Web, a resource is represented by an object which provides twisted.web.resource.IResource and most often is a subclass of twisted.web.resource.Resource . For example, here is a resource which represents a simple HTML greeting.

from twisted.web.resource import Resource

class Greeting(Resource):
    def render_GET(self, request):
        return "

Previous topic

Using the Twisted Web Client

Next topic

Examples

This Page