Unplug v0.2.0 Unplug.Predicates.RequestHeaderNotEquals View Source

Given a request header, do not execute the plug if the request value matches the expected value.

Usage:

plug Unplug,
  if: {Unplug.Predicates.RequestHeaderNotEquals, {"authorization", "super_secret"}},
  do: MyApp.Plug