Changeset 9396 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2016-01-10T20:09:16+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/HttpClient.java
r9314 r9396 29 29 import org.openstreetmap.josm.io.ProgressOutputStream; 30 30 import org.openstreetmap.josm.io.UTFInputStreamReader; 31 import org.openstreetmap.josm.io.auth.DefaultAuthenticator; 31 32 32 33 /** … … 122 123 if (Main.isDebugEnabled()) { 123 124 Main.debug("RESPONSE: " + connection.getHeaderFields()); 125 } 126 if (DefaultAuthenticator.getInstance().isEnabled() && connection.getResponseCode() == HttpURLConnection.HTTP_UNAUTHORIZED) { 127 DefaultAuthenticator.getInstance().addFailedCredentialHost(url.getHost()); 124 128 } 125 129 } catch (IOException e) {
Note:
See TracChangeset
for help on using the changeset viewer.