From: Cheng Zhao Date: Thu, 26 Sep 2013 08:38:08 +0000 (+0800) Subject: Accept still-preview apis. X-Git-Tag: v0.5.2~7^2~10 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=eed2b0fd815c93ec5ce8273f44f690f4a7aab3b2;p=electron.git Accept still-preview apis. --- diff --git a/script/lib/github.py b/script/lib/github.py index 6b9528bc..3aa75c62 100644 --- a/script/lib/github.py +++ b/script/lib/github.py @@ -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)