提交 8e6114ac 编写于 作者: G George Claghorn

Correct Range header syntax

上级 1f7fda63
......@@ -21,7 +21,7 @@ def content_type
def identifiable_chunk
Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |client|
client.get(uri, "Range" => "0-4096").body
client.get(uri, "Range" => "bytes=0-4095").body
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册