Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 7b973fb3c8298f606d9b435aff551ab6 > files > 3235

python2-twisted-19.2.1-1.1.mga7.armv7hl.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 "