summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/http/header.rb1
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