Ignore:
Timestamp:
2014-08-31T01:30:58+02:00 (8 years ago)
Author:
Don-vip
Message:

see #10441 - send capabilities request instead of changesets request when testing API url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r7436 r7473  
    653653            throw new IllegalArgumentException("Invalid HTTP url");
    654654        }
     655        if (Main.isDebugEnabled()) {
     656            Main.debug("Opening HTTP connection to "+httpURL.toExternalForm());
     657        }
    655658        HttpURLConnection connection = (HttpURLConnection) httpURL.openConnection();
    656659        connection.setRequestProperty("User-Agent", Version.getInstance().getFullAgentString());
Note: See TracChangeset for help on using the changeset viewer.