Changeset 9182 in josm for trunk/src/org/openstreetmap/josm/tools
- Timestamp:
- 2015-12-27T22:01:58+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/tools/HttpClient.java
r9179 r9182 92 92 93 93 if ("PUT".equals(requestMethod) || "POST".equals(requestMethod) || "DELETE".equals(requestMethod)) { 94 Main.info("{0} {1} ({2} kB) ...", requestMethod, url, requestBody.length / 1024); 94 95 headers.put("Content-Length", String.valueOf(requestBody.length)); 95 96 connection.setDoOutput(true); … … 112 113 } 113 114 } catch (IOException e) { 115 Main.warn(e); 114 116 //noinspection ThrowableResultOfMethodCallIgnored 115 117 Main.addNetworkError(url, Utils.getRootCause(e));
Note:
See TracChangeset
for help on using the changeset viewer.
