module Roda::RodaPlugins::Caching::ResponseMethods

def finish

Remove Content-Type and Content-Length for 304 responses.
def finish
  a = super
  if a[0] == 304
    h = a[1]
    h.delete('Content-Type')
    h.delete('Content-Length')
  end
  a
end