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