github-api
github-api copied to clipboard
Refactoring
Summary of Changes
Before this change, AbstractGithubObject::fetchUrl() altered the HTTP client on the fly to add header data. Since the header data is not part of the URL, this undocumented side effect is just wrong.
Now, the options are propagated to the client in the constructor, where it should be.
Testing Instructions
See GithubObjectTest::testFetchUrlToken().
Documentation Changes Required
No.