Demo entry 6783651

hello

   

Submitted by anonymous on Feb 17, 2019 at 14:26
Language: Python 3. Code size: 329 Bytes.

def app(environ, start_response):
    """Simplest possible application object"""
    data = b'Hello, yo yodsdfsd  World!\n'
    status = '200 OK'
    response_headers = [
        ('Content-type', 'text/plain'),
        ('Content-Length', str(len(data)))
    ]
    start_response(status, response_headers)
    return iter([data])

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).