Index: /applications/editors/josm/plugins/opendata/build.xml
===================================================================
--- /applications/editors/josm/plugins/opendata/build.xml	(revision 31936)
+++ /applications/editors/josm/plugins/opendata/build.xml	(revision 31937)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
 <project name="opendata" default="dist" basedir=".">
-    <property name="plugin.main.version" value="8919"/>
+    <property name="plugin.main.version" value="9309"/>
     <property name="plugin.author" value="Don-vip"/>
     <property name="plugin.class" value="org.openstreetmap.josm.plugins.opendata.OdPlugin"/>
Index: /applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/NetworkReader.java
===================================================================
--- /applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/NetworkReader.java	(revision 31936)
+++ /applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/io/NetworkReader.java	(revision 31937)
@@ -82,5 +82,5 @@
 
     private Class<? extends AbstractReader> findReaderByAttachment() {
-        String cdisp = this.activeConnection.getHeaderField("Content-disposition");
+        String cdisp = this.activeConnection.getResponse().getHeaderField("Content-disposition");
         if (cdisp != null) {
             Matcher m = Pattern.compile("attachment;.?filename=(.*)").matcher(cdisp);
@@ -94,5 +94,5 @@
 
     private Class<? extends AbstractReader> findReaderByContentType() {
-        String contentType = this.activeConnection.getContentType();
+        String contentType = this.activeConnection.getResponse().getContentType();
         if (contentType.startsWith("application/zip")) {
             return ZipReader.class;
