Skip to content

Commit ed1f644

Browse files
committed
Deprecation warning for Rack::Sendfile
1 parent 589519c commit ed1f644

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/rack/contrib/sendfile.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
require 'rack/file'
22

3+
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."
4+
35
module Rack
46

57
#

0 commit comments

Comments
 (0)