lib/tp2/request_extensions.rb
# frozen_string_literal: true class Qeweney::Request def respond_with_static_file(path, etag, last_modified, opts) cache_headers = (etag || last_modified) ? { 'etag' => etag, 'last-modified' => last_modified, } : {} adapter.respond_with_static_file(self, path, opts, cache_headers) end end