From 6039e04724f2f5a1195f0e970b29e7a69ce10d14 Mon Sep 17 00:00:00 2001 From: Thomas Quinot Date: Wed, 5 Aug 2026 15:15:18 +0200 Subject: [PATCH] Link upstream WEBrick PRs in range-fix comment Co-Authored-By: Claude Sonnet 5 --- _source/_plugins/webrick_range_fix.rb | 4 ++++ 1 file changed, 4 insertions(+) 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