Fixing websocket browser test utility header lookup

This commit is contained in:
Joakim Erdfelt 2013-10-10 08:43:49 -07:00
parent 8f4a403d4e
commit 2944339893
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class JsrBrowserConfigurator extends ServerEndpointConfig.Configurator
private String getHeaderValue(HandshakeRequest request, String key)
{
List<String> value = request.getHeaders().get("User-Agent");
List<String> value = request.getHeaders().get(key);
return QuoteUtil.join(value,",");
}