We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d63090b commit 1a0ae49Copy full SHA for 1a0ae49
defer/server/src/main/java/com/graphqljava/defer/GraphQLController.java
@@ -159,7 +159,6 @@ public void onComplete() {
159
160
}
161
162
-
163
private class DeferPart {
164
165
private Object body;
@@ -172,8 +171,8 @@ public String write() {
172
171
StringBuilder result = new StringBuilder();
173
String bodyString = bodyToString();
174
result.append("Content-Type: application/json").append(CRLF);
175
- result.append("Content-Length: ").append(bodyString.length() + 2).append(CRLF).append(CRLF);
176
- result.append(bodyString).append(CRLF);
+ result.append("Content-Length: ").append(bodyString.length()).append(CRLF).append(CRLF);
+ result.append(bodyString);
177
return result.toString();
178
179
0 commit comments