diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-06 12:38:51 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-06 12:38:51 +0000 |
commit | e667aaf4ca63c6360d778eb8101fe81f73184cff (patch) | |
tree | 5fdc9bb155a0eba2bfdca9b1293894d553597bf0 /lib | |
parent | d2fa5dff127bcc7ef481d7b3adca7637db3637e0 (diff) | |
download | ruby-e667aaf4ca63c6360d778eb8101fe81f73184cff.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/http/header.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/net/http/header.rb b/lib/net/http/header.rb index 7e46e04395..04981406d3 100644 --- a/lib/net/http/header.rb +++ b/lib/net/http/header.rb @@ -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 |