@@ -839,17 +839,22 @@ supports sending logging messages to a Web server, using either ``GET`` or
839839``POST `` semantics.
840840
841841
842- .. class :: HTTPHandler(host, url, method='GET', secure=False, credentials=None)
842+ .. class :: HTTPHandler(host, url, method='GET', secure=False, credentials=None, context=None )
843843
844844 Returns a new instance of the :class: `HTTPHandler ` class. The *host * can be
845- of the form ``host:port ``, should you need to use a specific port number.
846- If no *method * is specified, ``GET `` is used. If *secure * is true, an HTTPS
847- connection will be used. If *credentials * is specified, it should be a
848- 2-tuple consisting of userid and password, which will be placed in an HTTP
845+ of the form ``host:port ``, should you need to use a specific port number. If
846+ no *method * is specified, ``GET `` is used. If *secure * is true, a HTTPS
847+ connection will be used. The *context * parameter may be set to a
848+ :class: `ssl.SSLContext ` instance to configure the SSL settings used for the
849+ HTTPS connection. If *credentials * is specified, it should be a 2-tuple
850+ consisting of userid and password, which will be placed in a HTTP
849851 'Authorization' header using Basic authentication. If you specify
850852 credentials, you should also specify secure=True so that your userid and
851853 password are not passed in cleartext across the wire.
852854
855+ .. versionchanged :: 3.4.3
856+ The *context * parameter was added.
857+
853858 .. method :: mapLogRecord(record)
854859
855860 Provides a dictionary, based on ``record ``, which is to be URL-encoded
0 commit comments