class LHC::Format

def no_accept_header!(options)

def no_accept_header!(options)
  return if (options[:headers].keys & [:Accept, 'Accept']).blank?
  raise 'Accept header is not allowed for formatted requests!\nSee https://github.com/local-ch/lhc#formats for more information.'
end