aboutsummaryrefslogtreecommitdiff
path: root/juick-ws/src/main/java/com/juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-07-26 00:32:20 +0300
committerGravatar Vitaly Takmazov2016-07-27 13:57:24 +0300
commit5b6aadf87a9e6c708f56cd683997fdffbaa65a7b (patch)
tree2bdfa181550a823fe57bae829b89ec965748926b /juick-ws/src/main/java/com/juick
parent8c09444ea4664d41002ec6df6574ed696bfb2935 (diff)
juick-ws: lowercase upgrade header
Diffstat (limited to 'juick-ws/src/main/java/com/juick')
-rw-r--r--juick-ws/src/main/java/com/juick/ws/StatusController.java2
1 files changed, 1 insertions, 1 deletions
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());