Skip to content

Commit

Permalink
docs(FAQ): add a note that wsgiref.simple_server is not recommended f…
Browse files Browse the repository at this point in the history
…or prod
  • Loading branch information
vytas7 committed Jan 15, 2024
1 parent 3375063 commit 861fa3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/user/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,11 @@ thread (otherwise it may deadlock):
print('Serving on port 8000, POST to /shutdown to stop...')
httpd.serve_forever()
.. warning::
While ``wsgiref.simple_server`` is handy for integration testing, it builds
upon :mod:`http.server`, which is not recommended for production. (See
:ref:`install` on how to install a production-ready WSGI or ASGI server.)

How can I set cookies when simulating requests?
-----------------------------------------------

Expand Down

0 comments on commit 861fa3b

Please sign in to comment.