Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release > by-pkgid > 248e2f92d9b832e75f95c6042e4252e2 > files > 3146

python-twisted-16.3.2-1.mga6.i586.rpm


:LastChangedDate: $LastChangedDate$
:LastChangedRevision: $LastChangedRevision$
:LastChangedBy: $LastChangedBy$

Glossary
========





This glossary is very incomplete.  Contributions are
welcome.

    




      
.. _web-howto-glossary-resource:

resource




      
  
  An object accessible via HTTP at one or more URIs.  In Twisted Web,
  a resource is represented by an object which provides :api:`twisted.web.resource.IResource <twisted.web.resource.IResource>` and most often is
  a subclass of :api:`twisted.web.resource.Resource <twisted.web.resource.Resource>` .  For example, here
  is a resource which represents a simple HTML greeting.
  
  
  .. code-block:: python
  
      
      from twisted.web.resource import Resource
      
      class Greeting(Resource):
          def render_GET(self, request):
              return "