Changeset 1684 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-06-20T22:42:53+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/OsmApi.java
r1682 r1684 23 23 import java.util.HashMap; 24 24 import java.util.Properties; 25 import java.util.StringTokenizer;26 25 27 26 import javax.xml.parsers.SAXParserFactory; … … 381 380 addAuth(activeConnection); 382 381 383 if (requestMethod.equals("PUT") || requestMethod.equals("POST") ) {382 if (requestMethod.equals("PUT") || requestMethod.equals("POST") || requestMethod.equals("DELETE")) { 384 383 activeConnection.setDoOutput(true); 385 384 activeConnection.setRequestProperty("Content-type", "text/xml");
Note:
See TracChangeset
for help on using the changeset viewer.