代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/rubygem-sinatra 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 750aa3b0de06dad41539bdb402123b5416a3475d Mon Sep 17 00:00:00 2001
From: Jordan Owens <[email protected]>
Date: Tue, 10 Mar 2020 10:24:05 -0400
Subject: [PATCH] Fix failing tests
Rack added support for Multi-part ranges and apparently changed the
format of cookie expires timestamp format to match specs.
---
test/static_test.rb | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/test/static_test.rb b/test/static_test.rb
index e8408b14e..1c6cb35e9 100644
--- a/test/static_test.rb
+++ b/test/static_test.rb
@@ -152,8 +152,7 @@ def assert_valid_range(http_range, range, path, file)
end
it 'correctly ignores syntactically invalid range requests' do
- # ...and also ignores multi-range requests, which aren't supported yet
- ["bytes=45-40", "bytes=IV-LXVI", "octets=10-20", "bytes=-", "bytes=1-2,3-4"].each do |http_range|
+ ["bytes=45-40", "bytes=IV-LXVI", "octets=10-20", "bytes=", "bytes=3-1,4-5"].each do |http_range|
request = Rack::MockRequest.new(@app)
response = request.get("/#{File.basename(__FILE__)}", 'HTTP_RANGE' => http_range)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。