Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

update docstring of ScrapyClientTLSOptions

Lucy Wang2c58da19a6f8
diff --git a/scrapy/core/downloader/tls.py b/scrapy/core/downloader/tls.py
index c97c6a9a9..df8051182 100644
--- a/scrapy/core/downloader/tls.py
+++ b/scrapy/core/downloader/tls.py
@@ -63,8 +63,9 @@ if twisted_version >= (14, 0, 0):
(for genuinely invalid certificates or bugs in verification code).
Same as Twisted's private _sslverify.ClientTLSOptions,
- except that VerificationError and ValueError exceptions are caught,
- so that the connection is not closed, only logging warnings.
+ except that VerificationError, CertificateError and ValueError
+ exceptions are caught, so that the connection is not closed, only
+ logging warnings.
"""
def _identityVerifyingInfoCallback(self, connection, where, ret):