Fix flakey test in HttpClientStreamableHttpTransportErrorHandlingTest (#535)
This commit is contained in:
parent
02b8c4bcff
commit
4d779e139c
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ public class HttpClientStreamableHttpTransportErrorHandlingTest {
|
|||
if ("DELETE".equals(httpExchange.getRequestMethod())) {
|
||||
httpExchange.sendResponseHeaders(200, 0);
|
||||
}
|
||||
else {
|
||||
else if ("POST".equals(httpExchange.getRequestMethod())) {
|
||||
// Capture session ID from request if present
|
||||
String requestSessionId = httpExchange.getRequestHeaders().getFirst(HttpHeaders.MCP_SESSION_ID);
|
||||
lastReceivedSessionId.set(requestSessionId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue