mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
net/http/header.rb: remove a hack
* lib/net/http/header.rb (Net::HTTPHeader#set_range): remove a hack for the bug fixed at [Bug #8739]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d2fa5dff12
commit
e667aaf4ca
1 changed files with 0 additions and 1 deletions
|
@ -238,7 +238,6 @@ module Net::HTTPHeader
|
|||
when Range
|
||||
first = r.first
|
||||
last = r.last
|
||||
last -= 1 if r.exclude_end?
|
||||
if last == -1
|
||||
rangestr = (first > 0 ? "#{first}-" : "-#{-first}")
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue