Skip to content

Instantly share code, notes, and snippets.

@apenney
Created April 30, 2016 14:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apenney/6a485aeba55882c4dcb24eed74787784 to your computer and use it in GitHub Desktop.
Save apenney/6a485aeba55882c4dcb24eed74787784 to your computer and use it in GitHub Desktop.
defmodule Ebid do
import Plug.Conn
def init(options) do
# initialize options
options
end
def call(conn, _opts) do
conn
|> delete_resp_header("cache-control")
|> send_resp(204, [])
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment