lib/rack/contrib/sendfile.rb in rack-contrib-1.7.0 vs lib/rack/contrib/sendfile.rb in rack-contrib-1.8.0

- old
+ new

@@ -1,6 +1,8 @@ require 'rack/file' +warn "rack-contrib deprecation warning: the rack-contrib version of Rack::Sendfile is deprecated and will be removed in rack-contrib 2.0. Please use the Rack::Sendfile from Rack 2.x instead." + module Rack # # The Sendfile middleware intercepts responses whose body is being # served from a file and replaces it with a server specific X-Sendfile