Skip to content
Discussion options

You must be logged in to vote

In our case, we were using markdown-link-check with MegaLinter.

@ivanramosnet found out that we can fix the problem by adding this configuration:

{
  "httpHeaders": [
    {
      "urls": ["https://docs.github.com/"],
      "headers": {
        "Accept-Encoding": "zstd, br, gzip, deflate"
      }
    }
  ]
}

Maybe adding those headers to the request might work in other cases. At least using curl I do not get the 403 response.

$ curl -i https://docs.github.com/
HTTP/2 403 
x-azure-ref: 0wCJxYgAAAABtM0NN7R2MT6gHO4Zl4GGcTUFEMzBFREdFMDUwNQA1OTZkNzhhMi1jYTVmLTQ3OWQtYmNkYy0wODM1ODMzMTc0YjI=
accept-ranges: bytes
date: Tue, 03 May 2022 12:40:32 GMT
via: 1.1 varnish
x-served-by: cache-mad22047-MAD
x-

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sergei-maertens
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Articles, instructions, and discussions around GitHub's docs General General topics and discussions that don't fit into other categories, but are related to GitHub
4 participants