You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: spring-websocket/src/main/java/org/springframework/web/socket/server/support/AbstractHandshakeHandler.java
+18-14
Original file line number
Diff line number
Diff line change
@@ -215,21 +215,23 @@ public final boolean doHandshake(ServerHttpRequest request, ServerHttpResponse r
215
215
}
216
216
try {
217
217
HttpMethodhttpMethod = request.getMethod();
218
-
if (HttpMethod.GET != httpMethod && CONNECT_METHOD != httpMethod) {
218
+
if (HttpMethod.GET != httpMethod && !CONNECT_METHOD.equals(httpMethod)) {
0 commit comments