LittleDemon WebShell


Linux webhost1.zalaszam.hu 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Path : /lib/python3/dist-packages/twisted/web/
File Upload :
Command :
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 __future__ import absolute_import, division

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")

LittleDemon - FACEBOOK
[ KELUAR ]