Changeset 9913 in josm
- Timestamp:
- 2016-03-02T21:20:05+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
r9904 r9913 18 18 import java.util.regex.Pattern; 19 19 20 import oauth.signpost.OAuth;21 import oauth.signpost.OAuthConsumer;22 import oauth.signpost.OAuthProvider;23 import oauth.signpost.exception.OAuthException;24 25 20 import org.openstreetmap.josm.Main; 26 21 import org.openstreetmap.josm.data.oauth.OAuthParameters; … … 33 28 import org.openstreetmap.josm.tools.HttpClient; 34 29 import org.openstreetmap.josm.tools.Utils; 30 31 import oauth.signpost.OAuth; 32 import oauth.signpost.OAuthConsumer; 33 import oauth.signpost.OAuthProvider; 34 import oauth.signpost.exception.OAuthException; 35 35 36 36 /** … … 259 259 final URL url = new URL(oauthProviderParameters.getOsmLoginUrl() + "?cookie_test=true"); 260 260 synchronized (this) { 261 connection = HttpClient.create(url); 261 connection = HttpClient.create(url).useCache(false); 262 262 connection.connect(); 263 263 } … … 289 289 synchronized (this) { 290 290 connection = HttpClient.create(url) 291 .useCache(false) 291 292 .setHeader("Cookie", "_osm_session=" + sessionId.id + "; _osm_username=" + sessionId.userName); 292 293 connection.connect();
Note:
See TracChangeset
for help on using the changeset viewer.