Skip to content

Commit 6e51ec3

Browse files
committed
Update docs
1 parent 0c40dd7 commit 6e51ec3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/http.server.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ handler. Code to create and run the server looks like this::
5757
5858
Subclass of :class:`HTTPServer` with a wrapped socket using the :mod:`ssl` module.
5959
If the :mod:`ssl` module is not available, instantiating a :class:`!HTTPSServer`
60-
object fails with an :exc:`ImportError`.
60+
object fails with an :exc:`RuntimeError`.
6161

6262
The *certfile* argument is the path to the SSL certificate chain file,
6363
and the *keyfile* is the path to file containing the private key.
@@ -498,7 +498,7 @@ following command runs an HTTP/1.1 conformant server::
498498

499499
The server can also support TLS encryption. The options ``--tls-cert`` and
500500
``--tls-key`` allow specifying a TLS certificate chain and a private key for
501-
secure HTTPS connections. For example, the following command runs the server with
501+
HTTPS connections. For example, the following command runs the server with
502502
TLS enabled:
503503

504504
.. code-block:: bash

0 commit comments

Comments
 (0)