Changeset 9904 in josm for trunk/src/org
- Timestamp:
- 2016-03-01T13:13:04+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/oauth/OsmOAuthAuthorizationClient.java
r9355 r9904 195 195 return null; 196 196 } 197 Main.warn("No authenticity_token found in response!"); 197 198 return null; 198 199 } … … 200 201 protected SessionId extractOsmSession() { 201 202 List<String> setCookies = connection.getResponse().getHeaderFields().get("Set-Cookie"); 202 if (setCookies == null) 203 // no cookies set203 if (setCookies == null) { 204 Main.warn("No 'Set-Cookie' in response header!"); 204 205 return null; 206 } 205 207 206 208 for (String setCookie: setCookies) { … … 227 229 } 228 230 } 231 Main.warn("No suitable 'Set-Cookie' in response header found! {0}", setCookies); 229 232 return null; 230 233 }
Note:
See TracChangeset
for help on using the changeset viewer.