bugfix
This commit is contained in:
parent
3548f8303e
commit
5c3e2c6382
@ -125,7 +125,10 @@ class FileStorage:
|
||||
startpos = 0
|
||||
endpos = stats.st_size
|
||||
range = request.headers.get('Range')
|
||||
bytes=0-
|
||||
|
||||
if range:
|
||||
range = range.split('=')[-1]
|
||||
s,e = range.split('-')
|
||||
if s:
|
||||
startpos = int(s)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user