Skip to content

Commit

Permalink
Deprecation warning for Rack::Sendfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmer committed Nov 8, 2017
1 parent 589519c commit ed1f644
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/rack/contrib/sendfile.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
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

#
Expand Down

0 comments on commit ed1f644

Please # to comment.