Update SwitchingProtocolTest.java

This commit is contained in:
Josiah Noel 2025-10-10 16:09:32 -04:00 committed by GitHub
parent e0f69754c5
commit 8b68230c74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@ public class SwitchingProtocolTest {
server.createContext(
someContext,
msg -> {
byte[] reply = RESPONSE_BODY.getBytes(UTF_8);
byte[] reply = RESPONSE_BODY.getBytes(UTF_8);
System.err.println("Handling request: " + msg.getRequestURI());
try {
msg.sendResponseHeaders(msgCode, -1);
@ -219,4 +219,4 @@ public class SwitchingProtocolTest {
}
System.out.println("Client finished.");
}
}
}