github3.py icon indicating copy to clipboard operation
github3.py copied to clipboard

Support for X-GitHub-Api-Version HTTP header

Open cknowles-moz opened this issue 1 year ago • 3 comments

GitHub recently announced the REST API versioning [1], and that they plan breaking changes to the API. In order to avoid this, they created the X-GitHub-Api-Version header to allow us to fix ourselves in time. Would be good to have this supported in this library.

[1] https://github.blog/2022-11-28-to-infinity-and-beyond-enabling-the-future-of-githubs-rest-api-with-api-versioning/

cknowles-moz avatar Nov 29 '22 10:11 cknowles-moz