Module Expr Str ImportFrom alias alias Import alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias alias If UnaryOpNot NameLoad body ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str Assign NameStore ListLoad ListLoad Str Str NameLoad Str ListLoad Str Str NameLoad Str ListLoad Str NameLoad NameLoad Str ListLoad Str Str Str Str ListLoad Str Str Str Str Assign NameStore ListLoad ListLoad Str Str Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str Str BinOpAdd BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Dict Str Str Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign SubscriptStore NameLoad Index Str ListLoad Assign SubscriptStore NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore SubscriptLoad NameLoad Index Str attr Dict Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign SubscriptStore AttributeLoad SubscriptLoad NameLoad Index Str attr Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore AttributeLoad SubscriptLoad NameLoad Index Str attr Index NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Assign AttributeStore SubscriptLoad NameLoad Index Str attr NameLoad decorator_list Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If SubscriptLoad NameLoad Index Str body TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr Str If CompareIs SubscriptLoad NameLoad Index Str NameLoad body If BoolOpAnd UnaryOpNot NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index Str BinOpAdd Str NameLoad orelse Assign SubscriptStore NameLoad Index Str Str decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr If SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Assign AttributeStore SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword SubscriptLoad NameLoad Index Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr UnaryOpNot SubscriptLoad NameLoad Index Str If BoolOpAnd UnaryOpNot NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse If SubscriptLoad NameLoad Index Str body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str NameLoad attr NameLoad Return NameLoad decorator_list If NameLoad body Delete NameDel
N/A N/A 
Support for creating a service which runs a web server.
 __future__ absolute_import division N/A os twisted.web server static script demo twisted.internet interfaces reactor twisted.python usage reflect threadpool twisted.python.compat _PY3 twisted.application internet service strports N/A N/A _PY3 N/A twisted.web twcgi twisted.web wsgi twisted.web distrib twisted.spread pb Options N/A N/A usage Options N/A N/A 
    Define the options accepted by the I{twistd web} plugin.
     N/A synopsis [web options] N/A optParameters N/A N/A port p None strports description of the port to start the server on. N/A logfile l None Path to web CLF (Combined Log Format) log file. N/A https None None Port to listen on for Secure HTTP. N/A certificate c server.pem SSL certificate to use for HTTPS.  N/A privkey k server.pem SSL certificate to use for HTTPS. N/A optFlags N/A N/A notracebacks n Do not display tracebacks in broken web pages. Displaying tracebacks to users may be security risk! N/A N/A _PY3 N/A N/A N/A N/A optFlags append N/A personal N/A N/A Instead of generating a webserver, generate a ResourcePublisher which listens on  the port given by --port, or ~/%s  N/A N/A N/A distrib UserDirectory userSocketName if --port is not specified. N/A compData N/A N/A usage Completions optActions N/A logfile certificate privkey N/A N/A usage CompleteFiles *.log N/A N/A usage CompleteFiles *.pem N/A N/A usage CompleteFiles *.pem N/A longdesc This starts a webserver.  If you specify no arguments, it will be a
demo webserver that has the Test class from twisted.web.demo in it. __init__ N/A N/A self N/A N/A N/A N/A N/A N/A usage Options __init__ self N/A N/A self N/A indexes N/A N/A N/A self N/A root None N/A opt_index N/A N/A self indexName N/A N/A N/A 
        Add the name of a file used to check for directory indexes.
        [default: index, index.html]
         N/A N/A N/A N/A self N/A indexes append indexName N/A N/A opt_i opt_index opt_user N/A N/A self N/A N/A N/A 
        Makes a server with ~/public_html and ~/.twistd-web-pb support for
        users.
         N/A N/A self N/A root N/A N/A distrib UserDirectory N/A N/A opt_u opt_user opt_path N/A N/A self path N/A N/A N/A 
        <path> is either a specific file or a directory to be set as the root
        of the web server. Use this if you have a directory full of HTML, cgi,
        epy, or rpy files or any other files that you want to be served up raw.
         N/A N/A self N/A root N/A N/A static File N/A N/A N/A os path abspath path N/A N/A N/A self N/A root processors N/A .epy .rpy N/A script PythonScript N/A script ResourceScript N/A N/A _PY3 N/A N/A N/A N/A N/A self N/A root processors N/A .cgi N/A twcgi CGIScript N/A opt_processor N/A N/A self proc N/A N/A N/A 
        `ext=class' where `class' is added as a Processor for files ending
        with `ext'.
         N/A N/A N/A isinstance N/A self N/A root N/A static File N/A N/A N/A N/A usage UsageError You can only use --processor after --path. N/A N/A ext klass N/A N/A proc split = 1 N/A N/A N/A N/A self N/A root processors N/A ext N/A N/A reflect namedClass klass N/A opt_class N/A N/A self className N/A N/A N/A 
        Create a Resource subclass with a zero-argument constructor.
         N/A classObj N/A N/A reflect namedClass className N/A N/A self N/A root N/A classObj N/A opt_resource_script N/A N/A self name N/A N/A N/A 
        An .rpy file to be used as the root resource of the webserver.
         N/A N/A self N/A root N/A N/A script ResourceScriptWrapper name N/A opt_wsgi N/A N/A self name N/A N/A N/A 
        The FQPN of a WSGI application object to serve as the root resource of
        the webserver.
         N/A N/A N/A application N/A N/A reflect namedAny name N/A N/A N/A N/A AttributeError ValueError N/A N/A N/A N/A usage UsageError N/A No such WSGI application: %r N/A name N/A pool N/A N/A threadpool ThreadPool N/A N/A N/A reactor callWhenRunning N/A pool start N/A N/A N/A reactor addSystemEventTrigger after shutdown N/A pool stop N/A N/A self N/A root N/A N/A wsgi WSGIResource reactor pool application N/A opt_mime_type N/A N/A self defaultType N/A N/A N/A 
        Specify the default mime-type for static files.
         N/A N/A N/A isinstance N/A self N/A root N/A static File N/A N/A N/A N/A usage UsageError You can only use --mime_type after --path. N/A N/A N/A self N/A root defaultType defaultType N/A N/A opt_m opt_mime_type opt_allow_ignore_ext N/A N/A self N/A N/A N/A 
        Specify whether or not a request for 'foo' should return 'foo.ext'
         N/A N/A N/A isinstance N/A self N/A root N/A static File N/A N/A N/A N/A usage UsageError You can only use --allow_ignore_ext after --path. N/A N/A N/A N/A self N/A root ignoreExt * N/A opt_ignore_ext N/A N/A self ext N/A N/A N/A 
        Specify an extension to ignore.  These will be processed in order.
         N/A N/A N/A isinstance N/A self N/A root N/A static File N/A N/A N/A N/A usage UsageError You can only use --ignore_ext after --path. N/A N/A N/A N/A self N/A root ignoreExt ext N/A postOptions N/A N/A self N/A N/A N/A 
        Set up conditional defaults and check for dependencies.

        If SSL is not available but an HTTPS server was configured, raise a
        L{UsageError} indicating that this is not possible.

        If no server port was supplied, select a default appropriate for the
        other options supplied.
         N/A N/A self N/A https N/A N/A N/A N/A N/A N/A reflect namedModule OpenSSL.SSL N/A N/A N/A ImportError N/A N/A N/A N/A usage UsageError SSL support not installed N/A N/A N/A self N/A port None N/A N/A N/A N/A _PY3 N/A self N/A personal N/A N/A path N/A N/A N/A os path expanduser N/A N/A N/A os path join ~ N/A N/A distrib UserDirectory userSocketName N/A N/A self N/A port N/A unix: path N/A N/A N/A self N/A port tcp:8080 N/A N/A makePersonalServerFactory N/A N/A site N/A N/A N/A 
    Create and return a factory which will respond to I{distrib} requests
    against the given site.

    @type site: L{twisted.web.server.Site}
    @rtype: L{twisted.internet.protocol.Factory}
     N/A N/A N/A pb PBServerFactory N/A N/A distrib ResourcePublisher site N/A makeService N/A N/A config N/A N/A N/A s N/A N/A service MultiService N/A N/A config N/A root N/A N/A root N/A config N/A root N/A N/A config N/A indexes N/A N/A N/A N/A config N/A root indexNames N/A config N/A indexes N/A N/A root N/A N/A demo Test N/A N/A isinstance root N/A static File N/A N/A N/A N/A N/A root registry setComponent N/A interfaces IServiceCollection s N/A N/A config N/A logfile N/A N/A site N/A N/A server Site root logPath N/A config N/A logfile N/A N/A site N/A N/A server Site root N/A N/A site displayTracebacks N/A N/A config N/A notracebacks N/A N/A N/A _PY3 N/A config N/A personal N/A N/A personal N/A N/A strports service N/A config N/A port N/A makePersonalServerFactory site N/A N/A N/A personal setServiceParent s N/A N/A N/A config N/A https N/A twisted.internet.ssl DefaultOpenSSLContextFactory N/A i N/A N/A internet SSLServer N/A int N/A config N/A https site N/A DefaultOpenSSLContextFactory N/A config N/A privkey N/A config N/A certificate N/A N/A N/A i setServiceParent s N/A N/A N/A N/A N/A strports service N/A config N/A port site setServiceParent s N/A s N/A N/A _PY3 N/A N/A makePersonalServerFactory