KUJUNTI.ID MINISH3LL
Path : /lib/python3/dist-packages/twisted/web/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : //lib/python3/dist-packages/twisted/web/demo.py


# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.

"""
I am a simple test resource.
"""


from twisted.web import static


class Test(static.Data):
    isLeaf = True

    def __init__(self):
        static.Data.__init__(
            self,
            b"""
            <html>
            <head><title>Twisted Web Demo</title><head>
            <body>
            Hello! This is a Twisted Web test page.
            </body>
            </html>
            """,
            "text/html",
        )

© KUJUNTI.ID