Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 09408f3c1571cbb746da49a1d2f22702 > files > 3225

python-twisted-17.5.0-1.mga6.x86_64.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 "