Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

9 watching

Forks

Releases

Packages

Used by

Contributors

Languages