Ticket #10673: cache_wms.patch
File cache_wms.patch, 626 bytes (added by , 9 years ago) |
---|
-
src/org/openstreetmap/josm/io/imagery/WMSGrabber.java
258 258 Main.info("Grabbing WMS " + (attempt > 1? "(attempt " + attempt + ") ":"") + url); 259 259 260 260 HttpURLConnection conn = Utils.openHttpConnection(url); 261 conn.setUseCaches(true); 261 262 for (Entry<String, String> e : props.entrySet()) { 262 263 conn.setRequestProperty(e.getKey(), e.getValue()); 263 264 }