Accept still-preview apis.
This commit is contained in:
parent
4c4b8a8486
commit
eed2b0fd81
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ class GitHub:
|
|||
if not 'headers' in kw:
|
||||
kw['headers'] = dict()
|
||||
kw['headers']['Authorization'] = self._authorization
|
||||
kw['headers']['Accept'] = 'application/vnd.github.manifold-preview'
|
||||
|
||||
return getattr(requests, method)(url, **kw)
|
||||
|
||||
|
|
Loading…
Reference in a new issue