cwninja/geminabox — pull request #55 by exviva (2012-03-09 12:50:16+00:00)
Title: Add geminabox version to HTTP responses

It's useful for us to know, which version of which software
is serving gems. This patch adds an `"X-Powered-By"` response
header with the value of `"geminabox VERSION"`, e.g. `"geminabox 0.6.0"`.

Example:

geminabox$ bundle exec rackup
$ curl -I localhost:9292
HTTP/1.1 200 OK
...
X-Powered-By: geminabox 0.6.0

I'm not too happy with the patch, the code change is virtually a one-liner, but I needed to touch quite some files around it, so I'd gladly improve it if you have any suggestions.