summaryrefslogtreecommitdiff
path: root/docs/index.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/index.rst')
-rw-r--r--docs/index.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/index.rst b/docs/index.rst
index cd175e3..9e89395 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -4,7 +4,7 @@ Waitress
Waitress is meant to be a production-quality pure-Python WSGI server with
very acceptable performance. It has no dependencies except ones which live
in the Python standard library. It runs on CPython on Unix and Windows under
-Python 2.6+ and Python 3.2+. It is also known to run on PyPy 1.6.0 on UNIX.
+Python 2.7+ and Python 3.3+. It is also known to run on PyPy 1.6.0 on UNIX.
It supports HTTP/1.0 and HTTP/1.1.
Usage
@@ -23,7 +23,7 @@ and IPv6.
.. code-block:: python
- from waitress impot serve
+ from waitress import serve
serve(wsgiapp, host='0.0.0.0', port=8080)
This will run waitress on port 8080 on all available IPv4 addresses.
@@ -36,7 +36,7 @@ WSGI app as a single argument:
from waitress import serve
serve(wsgiapp)
-
+
Press Ctrl-C (or Ctrl-Break on Windows) to exit the server.
The default is to bind to any IPv4 address on port 8080: