File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
modules/org.restlet/src/org/restlet/engine/adapter Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Changes log
44===========
55
66- @version-full@ (@release-date@)
7+ - Bugs fixed
8+ - In IE 10 and seq., request without body are sent with an "undefined" body. Issue #1252.
9+ Reported by Etienne Griette.
710
811- 2.3.8 (12/10/2016)
912 - Bugs fixed
Original file line number Diff line number Diff line change @@ -213,14 +213,7 @@ public class GwtClientCall extends ClientCall {
213213 public void sendRequest(final org.restlet.Request request,
214214 final org.restlet.Response response,
215215 final Uniform onResponseCallback) throws Exception {
216- final Representation entity = request.isEntityAvailable() ? request
217- .getEntity() : null;
218- if (entity != null) {
219- String requestData = entity.getText();
220- if (requestData != null) {
221- getRequestBuilder().setRequestData("" + requestData);
222- }
223- }
216+ getRequestBuilder().setRequestData(request.isEntityAvailable() ? request.getEntity().getText() : null);
224217
225218 // Set the request headers
226219 for (final org.restlet.data.Header header : getRequestHeaders()) {
You can’t perform that action at this time.
0 commit comments