Skip to content

Instantly share code, notes, and snippets.

@juanbenitopr juanbenitopr/ Secret
Created May 23, 2020

What would you like to do?
WSGI python application
from typing import Dict, Any
# Sibling fake of Django
class Fango:
def __call__(environ: Dict[str, Any], start_response) -> bytes:
HELLO = b'Hello!'
status = '200 OK'
response_headers = [('Content-type', 'text/plain')]
start_response(status, response_headers)
return HELLO
app = Fango()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.