Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.


The
X-GitHub-Request-Idheader is used to check whether an error is returned from a GitHub or GitHub Enterprise server instance. If the server is behind a HAProxy, the header will be converted to lower case. We were only checking for a case sensitiveX-GitHub-Request-Idheader and not detecting GHES instances behind a HAProxy proxy.What this PR does
X-GitHub-Request-IdheaderCredits
This bug was discovered and documented by @osmanager in #2560. Thankyou!
Related
octokit/octokit.net#2175
Fixes #2560