File tree 2 files changed +4
-8
lines changed
modules/org.restlet/src/org/restlet/engine/adapter
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ Changes log
4
4
===========
5
5
6
6
- @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.
7
10
8
11
- 2.3.8 (12/10/2016)
9
12
- Bugs fixed
Original file line number Diff line number Diff line change @@ -213,14 +213,7 @@ public class GwtClientCall extends ClientCall {
213
213
public void sendRequest(final org.restlet.Request request,
214
214
final org.restlet.Response response,
215
215
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);
224
217
225
218
// Set the request headers
226
219
for (final org.restlet.data.Header header : getRequestHeaders()) {
You can’t perform that action at this time.
0 commit comments