Community
Participate
Working Groups
When trying to create a repository with an invalid token, an error is raised: java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode This code looks suspicious to me: ```java GitHubClient.java protected InputStream getStream(HttpURLConnection request) throws IOException { if (request.getResponseCode() < HTTP_BAD_REQUEST) return request.getInputStream(); else { InputStream stream = request.getErrorStream(); return stream != null ? stream : request.getInputStream(); } } ``` I don't think we should do a `request.getInputStream()` on a request with reponseCode >= 400.