Index: trunk/src/org/openstreetmap/josm/tools/HttpClient.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/HttpClient.java	(revision 9178)
+++ trunk/src/org/openstreetmap/josm/tools/HttpClient.java	(revision 9179)
@@ -22,4 +22,5 @@
 import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.data.Version;
+import org.openstreetmap.josm.gui.progress.ProgressMonitor;
 import org.openstreetmap.josm.io.Compression;
 import org.openstreetmap.josm.io.UTFInputStreamReader;
@@ -55,4 +56,15 @@
      */
     public Response connect() throws IOException {
+        return connect(null);
+    }
+
+    /**
+     * Opens the HTTP connection.
+     * @param monitor progress monitor
+     * @return HTTP response
+     * @throws IOException if any I/O error occurs
+     * @since 9179
+     */
+    public Response connect(ProgressMonitor monitor) throws IOException {
         final HttpURLConnection connection = (HttpURLConnection) url.openConnection();
         connection.setRequestMethod(requestMethod);
@@ -76,4 +88,6 @@
             }
         }
+
+        // FIXME: use ProgressMonitor
 
         if ("PUT".equals(requestMethod) || "POST".equals(requestMethod) || "DELETE".equals(requestMethod)) {
