mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Github: use HEAD request
This commit is contained in:
@@ -200,7 +200,7 @@ public class GithubApiUtil {
|
||||
public static Collection<String> getTokenScopes(@NotNull GithubAuthData auth) throws IOException {
|
||||
HttpMethod method = null;
|
||||
try {
|
||||
method = doREST(auth, "", null, HttpVerb.GET);
|
||||
method = doREST(auth, "", null, HttpVerb.HEAD);
|
||||
|
||||
checkStatusCode(method);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user