Changeset 10302 in josm for trunk/test/functional/org/openstreetmap
- Timestamp:
- 2016-05-30T09:24:08+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/functional/org/openstreetmap/josm/tools/HttpClientTest.java
r9807 r10302 101 101 .setHeader("Content-Type", "text/plain") 102 102 .setRequestBody(text.getBytes(StandardCharsets.UTF_8)) 103 .setFinishOnCloseOutput(false) // to fix #12583, not sure if it's the best way to do it 103 104 .connect(progress); 104 105 assertThat(response.getResponseCode(), is(200)); … … 114 115 .setHeader("Content-Type", "text/plain") 115 116 .setRequestBody("".getBytes(StandardCharsets.UTF_8)) 117 .setFinishOnCloseOutput(false) // to fix #12583, not sure if it's the best way to do it 116 118 .connect(progress); 117 119 assertThat(response.getResponseCode(), is(200));
Note:
See TracChangeset
for help on using the changeset viewer.