module Roda::RodaPlugins::DeleteEmptyHeaders::ResponseMethods

def delete_empty_headers(res)

Delete any empty headers from response
def delete_empty_headers(res)
  res[1].delete_if{|_, v| v.is_a?(String) && v.empty?}
  res
end