Fixing websocket browser test utility header lookup
This commit is contained in:
parent
8f4a403d4e
commit
2944339893
|
@ -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,",");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue