View Source Unplug.Predicates.RequestHeaderNotEquals (Unplug v1.0.0)

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