Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 785 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 785 Bytes

ExClacks

This adds 'x-clacks-overhead: GNU Terry Pratchett' to your http response headers when added to a pipeline of plugs.

For a deeper explantion of why you would want to do this please visit http://www.gnuterrypratchett.com

Or better yet read Going Postal or really any of Terry Prachett's books

####Example:

  pipeline :browser do
    plug :accepts, ["html"]
    plug :fetch_session
    plug ExClacks
  end

Installation

If available in Hex, the package can be installed as:

  1. Add ex_clacks to your list of dependencies in mix.exs:

    def deps do [{:ex_clacks, "~> 0.1.0"}] end