module Roda::RodaPlugins::DeleteEmptyHeaders::ResponseMethods
def delete_empty_headers(res)
def delete_empty_headers(res) res[1].delete_if{|_, v| v.is_a?(String) && v.empty?} res end
def finish
def finish delete_empty_headers(super) end
def finish_with_body(_)
def finish_with_body(_) delete_empty_headers(super) end