File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
499499The 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
502502TLS enabled:
503503
504504.. code-block :: bash
You can’t perform that action at this time.
0 commit comments