diff --git a/_source/_plugins/webrick_range_fix.rb b/_source/_plugins/webrick_range_fix.rb index e25dcda..a2a3552 100644 --- a/_source/_plugins/webrick_range_fix.rb +++ b/_source/_plugins/webrick_range_fix.rb @@ -5,6 +5,10 @@ # metadata, so this breaks video playback under `jekyll serve`. # See https://github.com/ruby/webrick/blob/master/lib/webrick/httpservlet/filehandler.rb # +# Upstream bug, not yet fixed as of writing: +# https://github.com/ruby/webrick/pull/173 (fix if-range returning 304 instead of 206/200) +# https://github.com/ruby/webrick/pull/169 (do not cache range requests) +# Drop this plugin once one of those lands in a released webrick version. require 'webrick' module WebrickRangeFix