Accept still-preview apis.

This commit is contained in:
Cheng Zhao 2013-09-26 16:38:08 +08:00
parent 4c4b8a8486
commit eed2b0fd81

View file

@ -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)