How to disable WEBrick Server header?

I'm not sure that you can delete Server header at all without hacking the guts. I think that more simple is delete all content of this header such way.

I'm not sure that you can delete Server header at all without hacking the guts. I think that more simple is delete all content of this header such way: require 'sinatra' set :server, 'WEBrick' get '/' do headers "Server" => "" " World! " end If you want to prepare this manipulation for each action, you can use before filter: require 'sinatra' set :server, 'WEBrick' before do headers "Server" => "" end get '/' do " World!" end.

Actually your code results in no Server header at all - that's great! But there must be some way not to put this extra line to ALL methods that I implement? – ʘleg Nov 26 '11 at 22:13 I've updated my post.

But i'm wondering, how do you check presence of Server header? Because yeah - firebug doesn't show empty header, but if you look at chrome, you can discover it among other header with. – WarHog Nov 26 '11 at 22:24 I'm using Live HTTP headers Firefox extension and was thinking that it was a great tool, until now... might be a Firefox issue – ʘleg Nov 26 '11 at 22:29 OK, it's a Firefox BUG bugzilla.mozilla.Org/show_bug.

Cgi? Id=669259 – ʘleg Nov 26 '11 at 22:40 That's an interesting info, thanks for sharing! – WarHog Nov 26 '11 at 22:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions