This glossary is very incomplete. Contributions are welcome.
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 "