Defect #33752 » 10-patches.rb.patch
| trunk/config/initializers/10-patches.rb (revision 19981) → trunk/config/initializers/10-patches.rb (working copy) | ||
|---|---|---|
|
end
|
||
|
end
|
||
|
end
|
||
|
# https://github.com/rack/rack/pull/1703
|
||
|
require 'rack'
|
||
|
module Rack
|
||
|
class RewindableInput
|
||
|
def size
|
||
|
make_rewindable unless @rewindable_io
|
||
|
@rewindable_io.size
|
||
|
end unless method_defined?(:size)
|
||
|
end
|
||
|
end
|
||