0.0
No commit activity in last 3 years
No release in over 3 years
A small gem which adds harmless HTTP response headers to your app as easter eggs.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.0.3
 Project Readme

EasterHeaders

Add easter-egg HTTP headers to your Rails app with ease!

This gem allows you to add a (potentially harmless :)) HTTP header to every response, as an easter egg.

Usage

First, add the gem to you Gemfile:

gem "easter_headers"

Then, create an initializer (config/initializers/easter_headers.rb, for example), and initialize the values you want there:

EasterHeaders::init('X-Valar', 'Morghulis')

You're done:

image

As usual with initializers, if you change any of the header values, you'll need to restart the server.