Spot the bug in the WSGI text response

from WSGI
Python 3.14 beginner 4 min 1 issue to find

Find the WSGI contract violation in this response.

Python
def application(environ, start_response):
    body = "café"
    start_response("200 OK", [("Content-Type", "text/plain")])
    return [body]
Open in playground
Report an error