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