Changeset 6920 in josm for trunk/src/org/openstreetmap/josm/gui/preferences/server/ApiUrlTestTask.java
- Timestamp:
- 2014-03-21T17:31:18+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/server/ApiUrlTestTask.java
r6643 r6920 29 29 * 30 30 * Note: it fetches a list of changesets instead of the much smaller capabilities because - strangely enough - 31 * an OSM server "http ://x.y.y/api/0.6" not only responds to "http://x.y.y/api/0.6/capabilities" but also32 * to "http ://x.y.y/api/0/capabilities" or "http://x.y.y/a/capabilities" with valid capabilities. If we get31 * an OSM server "https://x.y.y/api/0.6" not only responds to "https://x.y.y/api/0.6/capabilities" but also 32 * to "https://x.y.y/api/0/capabilities" or "https://x.y.y/a/capabilities" with valid capabilities. If we get 33 33 * valid capabilities with an URL we therefore can't be sure that the base URL is valid API URL. 34 34 *
Note:
See TracChangeset
for help on using the changeset viewer.