Create the default application for an UWSGI server.
WSGI response is created from given "environ" parameters and communicated with start_response. The "environ" parameter is a dictionary. Here are examples of "environ" key/values:
- 'REQUEST_METHOD': 'GET'
- 'REQUEST_URI': '/information.html',
- 'PATH_INFO': '/information.html',
- 'QUERY_STRING': '',
- 'SERVER_PROTOCOL': 'HTTP/1.1',
- 'SCRIPT_NAME': '',
- 'SERVER_NAME': 'macpro-1.home',
- 'SERVER_PORT': '9090',
- 'UWSGI_ROUTER': 'http',
- 'REMOTE_ADDR': '127.0.0.1',
- 'REMOTE_PORT': '26095',
- 'HTTP_HOST': 'localhost:9090',
- 'HTTPUSERAGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0',
- 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8',
- 'HTTPACCEPTLANGUAGE': 'fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3',
- 'HTTPACCEPTENCODING': 'gzip, deflate, br',
- 'HTTP_REFERER': 'http://localhost:9090/contributeurs.html',
- 'HTTPDNT': '1', 'HTTPCONNECTION': 'keep-alive',
- 'HTTPUPGRADEINSECURE_REQUESTS': '1',
- 'HTTPSECFETCH_DEST': 'document',
- 'HTTPSECFETCH_MODE': 'navigate',
- 'HTTPSECFETCH_SITE': 'same-origin',
- 'HTTPSECFETCH_USER': '?1',