python-github3 icon indicating copy to clipboard operation
python-github3 copied to clipboard

fixed problem with post for fork creation

Open luiscruz opened this issue 9 years ago • 0 comments

Fork creation fails with Github API v3, because it returns a status code 202 Accepted:

https://developer.github.com/v3/repos/forks/

This PR fixes the client post method. It is now accepting both 201 and 202 status codes.

luiscruz avatar Dec 07 '16 14:12 luiscruz