##// 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 26 end = ''
27 27 if bytes:
28 28 end = self.pos + bytes - 1
29 if self.pos or end:
29 30 req.add_header('Range', 'bytes=%d-%s' % (self.pos, end))
30 31
31 32 try:
General Comments 0
You need to be logged in to leave comments. Login now