Skip to content

Latest commit

 

History

History
48 lines (18 loc) · 794 Bytes

glossary.rst

File metadata and controls

48 lines (18 loc) · 794 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 :pytwisted.web.resource.IResource and most often is a subclass of :pytwisted.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 "