Browse Source

Polishing

pull/28056/head
Sam Brannen 4 years ago
parent
commit
552e02cb44
  1. 12
      spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

12
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

@ -1259,10 +1259,13 @@ class WebClientIntegrationTests { @@ -1259,10 +1259,13 @@ class WebClientIntegrationTests {
is.read(new byte[4096]);
OutputStream os = socket.getOutputStream();
os.write("HTTP/1.1 200 OK\r\n".getBytes(StandardCharsets.UTF_8));
os.write("Transfer-Encoding: chunked\r\n".getBytes(StandardCharsets.UTF_8));
os.write("\r\n".getBytes(StandardCharsets.UTF_8));
os.write("lskdu018973t09sylgasjkfg1][]'./.sdlv".getBytes(StandardCharsets.UTF_8));
os.write("""
HTTP/1.1 200 OK
Transfer-Encoding: chunked
lskdu018973t09sylgasjkfg1][]'./.sdlv"""
.replace("\n", "\r\n").getBytes(StandardCharsets.UTF_8));
socket.close();
}
catch (IOException ex) {
@ -1322,4 +1325,5 @@ class WebClientIntegrationTests { @@ -1322,4 +1325,5 @@ class WebClientIntegrationTests {
this.containerValue = containerValue;
}
}
}

Loading…
Cancel
Save