Hi,
Is it possible to remove the HTTP Server header version in Jetty ? Why ?
Some security analysis software (and colleagues
) will flag sending the server version in the response header as an issue.
This java code should do it, but I don't know how this can be done in B4J
Thanks.
Luk
Is it possible to remove the HTTP Server header version in Jetty ? Why ?
Some security analysis software (and colleagues
This java code should do it, but I don't know how this can be done in B4J
B4X:
HttpConfiguration httpConfig =newHttpConfiguration();
httpConfig.setSendServerVersion(false);
HttpConnectionFactory httpFactory =newHttpConnectionFactory( httpConfig );
ServerConnector httpConnector =newServerConnector( server,httpFactory );
Thanks.
Luk