A Plug that adds x-clacks-overhead: GNU Terry Pratchett to your HTTP
response headers when added to a pipeline of plugs.
For a deeper explanation of why you would want to do this please visit gnuterrypratchett.com.
Or better yet, read Going Postal or really any of Terry Pratchett's books.
pipeline :browser do
plug :accepts, ["html"]
plug :fetch_session
plug ExClacks
endAdd ex_clacks to your list of dependencies in mix.exs:
def deps do
[{:ex_clacks, "~> 1.0"}]
endMIT — see LICENSE.md.