mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #7936 from tk0miya/7691_HEAD_requests
Fix #7691: linkcheck: HEAD requests are not used for checking
This commit is contained in:
commit
6059693d71
1
CHANGES
1
CHANGES
@ -35,6 +35,7 @@ Bugs fixed
|
||||
* #7715: LaTeX: ``numfig_secnum_depth > 1`` leads to wrong figure links
|
||||
* #7846: html theme: XML-invalid files were generated
|
||||
* #7894: gettext: Wrong source info is shown when using rst_epilog
|
||||
* #7691: linkcheck: HEAD requests are not used for checking
|
||||
* #7928: py domain: failed to resolve a type annotation for the attribute
|
||||
* #7869: :rst:role:`abbr` role without an explanation will show the explanation
|
||||
from the previous abbr role
|
||||
|
@ -124,4 +124,4 @@ def head(url: str, **kwargs: Any) -> requests.Response:
|
||||
headers.setdefault('User-Agent', useragent_header[0][1])
|
||||
|
||||
with ignore_insecure_warning(**kwargs):
|
||||
return requests.get(url, **kwargs)
|
||||
return requests.head(url, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user