##// END OF EJS Templates
statichttprepo: don't send Range header when requesting entire file...
Alexander Boyd -
r16882:a2d6e336 stable
parent child Browse files
Show More
@@ -26,6 +26,7 class httprangereader(object):
26 end = ''
26 end = ''
27 if bytes:
27 if bytes:
28 end = self.pos + bytes - 1
28 end = self.pos + bytes - 1
29 if self.pos or end:
29 req.add_header('Range', 'bytes=%d-%s' % (self.pos, end))
30 req.add_header('Range', 'bytes=%d-%s' % (self.pos, end))
30
31
31 try:
32 try:
General Comments 0
You need to be logged in to leave comments. Login now