From 5b6aadf87a9e6c708f56cd683997fdffbaa65a7b Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 26 Jul 2016 00:32:20 +0300 Subject: juick-ws: lowercase upgrade header --- juick-ws/src/main/java/com/juick/ws/StatusController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'juick-ws/src/main/java/com/juick/ws') diff --git a/juick-ws/src/main/java/com/juick/ws/StatusController.java b/juick-ws/src/main/java/com/juick/ws/StatusController.java index 9c3e2404..216089b4 100644 --- a/juick-ws/src/main/java/com/juick/ws/StatusController.java +++ b/juick-ws/src/main/java/com/juick/ws/StatusController.java @@ -17,7 +17,7 @@ public class StatusController { @Inject WebsocketComponent wsHandler; - @RequestMapping(method = RequestMethod.GET, headers = "Connection!=Upgrade", value = "/") + @RequestMapping(method = RequestMethod.GET, headers = "Connection!=upgrade", value = "/") public ModelAndView status() { ModelAndView modelAndView = new ModelAndView(); modelAndView.addObject("clients", wsHandler.clients.size()); -- cgit v1.2.3