From 1f194ea3272f5beed58b5df84c7aab44a38e4a18 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Fri, 26 Apr 2013 08:54:58 -0500 Subject: [PATCH] hybi00 unit test bugfix --- test/processors/hybi00.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/processors/hybi00.cpp b/test/processors/hybi00.cpp index d22edc4579..ed830ed24b 100644 --- a/test/processors/hybi00.cpp +++ b/test/processors/hybi00.cpp @@ -86,7 +86,7 @@ BOOST_AUTO_TEST_CASE( exact_match ) { env.p.process_handshake(env.req,"",env.res); BOOST_CHECK_EQUAL(env.res.get_header("Connection"), "Upgrade"); - BOOST_CHECK_EQUAL(env.res.get_header("Upgrade"), "websocket"); + BOOST_CHECK_EQUAL(env.res.get_header("Upgrade"), "WebSocket"); BOOST_CHECK_EQUAL(env.res.get_header("Sec-WebSocket-Origin"), "http://example.com"); BOOST_CHECK_EQUAL(env.res.get_header("Sec-WebSocket-Location"), "ws://www.example.com/");