An optional middleware to proudly display your usage of Rainbows! in the "Server:" response header. This means you can help tell the world you're using Rainbows! and spread fun and joy all over the Internet!
------ in your config.ru ------ require 'rainbows/server_token' require 'rack/lobster' use Rainbows::ServerToken run Rack::Lobster.new
If you're nervous about the exact version of Rainbows! you're running, then you can actually specify anything you want:
use Rainbows::ServerToken, "netcat 1.0"
new (app, token = Const::RACK_DEFAULTS['SERVER_SOFTWARE']) sourceCalls superclass method
call (env) source
Parent: Struct.new(:app, :token)
Pages
Classes
Methods
mail archives: https://yhbt.net/rainbows-public/ http://ou63pmih66umazou.onion/rainbows-public/ nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows nntp://news.gmane.io/gmane.comp.lang.ruby.rainbows.general public: rainbows-public@yhbt.net source code: git clone https://yhbt.net/rainbows.git torsocks git clone http://ou63pmih66umazou.onion/rainbows.git