Changeset 3566 in josm for trunk/src/org


Ignore:
Timestamp:
2010-09-26T23:26:03+02:00 (14 years ago)
Author:
stoecker
Message:

see #5404 - hopefully work around bugs in proxy software

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmApi.java

    r3366 r3566  
    389389            monitor.beginTask(tr("Closing changeset..."));
    390390            initialize(monitor);
    391             sendRequest("PUT", "changeset" + "/" + changeset.getId() + "/close", null, monitor);
     391            /* send "\r\n" instead of empty string, so we don't send zero payload - works around bugs
     392               in proxy software */
     393            sendRequest("PUT", "changeset" + "/" + changeset.getId() + "/close", "\r\n", monitor);
    392394            changeset.setOpen(false);
    393395        } finally {
Note: See TracChangeset for help on using the changeset viewer.