Skip to content

Latest commit

 

History

History
48 lines (18 loc) · 849 Bytes

glossary.rst

File metadata and controls

48 lines (18 loc) · 849 Bytes
LastChangedDate

$LastChangedDate$

LastChangedRevision

$LastChangedRevision$

LastChangedBy

$LastChangedBy$

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 <twisted.web.resource.IResource> and most often is a subclass of twisted.web.resource.Resource <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 "