-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link checker doesn't accept gzip content #2775
Comments
Are you saying master branch works fine? If true, please wait a next major release. because it seems too hard and meaningless to support it on stable branch. Until the release, you can download it from https://github.com/sphinx-doc/sphinx/archive/master.zip Note: master branch is still in develop, so there might be some bugs. |
Yes, it seems to work fine in master. I just have no clue what is Dne 15.7.2016 v 04:55 Takeshi KOMIYA napsal(a):
|
The target day for next major release is not planed yet. But, IMO, it might be released in this autumn. Of course, all contributions are welcome. so it's okay to merge PR to fix this on stable branch. |
Here comes the PR: #2809 |
Merged #2809. |
When server is configured to server only compressed content, linkcheck fails. For example this can be seen on https://tcpdf.org/.
This can be simply fixed by adding
Accept-encoding: gzip
header to the URL opener (at least for HEAD requests, for GET and anchor checking probably more work would be needed).I can see that master branch has switched to using requests, where this case works just fine. I just would like to see this work in released version as well...
The text was updated successfully, but these errors were encountered: