This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
sphinx
Watch
3
Star
0
Fork
0
You've already forked sphinx
mirror of
https://github.com/sphinx-doc/sphinx.git
synced
2025-02-25 18:55:22 -06:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
1a47e3a8be
sphinx
/
tests
/
roots
/
test-linkcheck-localserver-https
/
conf.py
3 lines
55 B
Python
Raw
Normal View
History
Unescape
Escape
linkcheck: test invalid SSL is reported as broken `linkcheck` logic suggests that SSL errors were originally expected to be ignored. Blaming the corresponding lines point to issue #3008: linkcheck to website with self-signed certificates. That issue was fixed by commit 4c7bec6460ae6154705bfd023e363e458f16d1b6, which ignored SSL errors. Probably because back then, users could not specify a CA bundle. A broken SSL certificate is a real issue, it should not be ignored. Users wishing to ignore issues for a specific link can use the `linkcheck_ignore` option. The current behavior is to report the site as broken, keep it.
2020-11-09 15:26:02 -06:00
exclude_patterns
=
[
'
_build
'
]
linkcheck: Use context managers for HTTP requests (#11318) This closes HTTP responses when no content reads are required, as when requests are made in streaming mode, ``requests`` doesn't know whether the caller may intend to later read content from a streamed HTTP response object and holds the socket open. Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2023-05-09 11:09:35 -05:00
linkcheck_timeout
=
0.05
Reference in New Issue
Copy Permalink