mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
linkcheck: Drop application/xml from Accept header
This commit is contained in:
parent
271e1d1340
commit
1302d785fb
@ -123,8 +123,7 @@ class CheckExternalLinksBuilder(Builder):
|
||||
kwargs = {
|
||||
'allow_redirects': True,
|
||||
'headers': {
|
||||
'Accept': ('text/html,application/xhtml+xml,'
|
||||
'application/xml;q=0.9,*/*;q=0.8')
|
||||
'Accept': 'text/html,application/xhtml+xml;q=0.9,*/*;q=0.8'
|
||||
},
|
||||
}
|
||||
if self.app.config.linkcheck_timeout:
|
||||
|
Loading…
Reference in New Issue
Block a user