GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Perlbal has a habit of sending a "Server" header containing "Perlbal" (hardcoded, no version number) back to the user. This can be troublesome when you prefer the server not disclose any identifying traits. It's a pretty big trait. :)
Basically I added a variable to every service that allows to set this Server header off, called "server_tokens", name taken from Apache's ServerTokens variable of the same purpose. Right now it's a boolean but in the future it could be set to something more elaborate to allow various degrees of server tokens. Up to you.
I also added documentation anywhere I could find (quite a bit) and tests.
All the best,
add some tests to server_tokens
Merge pull request #5 from xsawyerx/feature/server_tokens
I disagree with the feature being important; but since you made it so complete with tests and docs it's (in my opinion) an easy merge. Thanks!