From eed2b0fd815c93ec5ce8273f44f690f4a7aab3b2 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 26 Sep 2013 16:38:08 +0800 Subject: [PATCH] Accept still-preview apis. --- script/lib/github.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.43.0