Skip to content

gh-127522: wsgiref: indicate that start_response objects should follow a specific protocol #127525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Doc/library/wsgiref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,7 @@
applications to set up dummy environments. It should NOT be used by actual WSGI
servers or applications, since the data is fake!

Example usage, where the *start_response* callable should follow the
:class:`.StartResponse` protocol::
Example usage (see also :func:`demo_app` for another example)::

Check warning on line 122 in Doc/library/wsgiref.rst

View workflow job for this annotation

GitHub Actions / Docs / Docs

py:func reference target not found: demo_app [ref.func]

from wsgiref.util import setup_testing_defaults
from wsgiref.simple_server import make_server
Expand Down
Loading