This commit is contained in:
yumoqing 2025-09-14 20:45:49 +08:00
parent 5c3e2c6382
commit b9955ce2a8

View File

@ -125,8 +125,6 @@ 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] range = range.split('=')[-1]
s,e = range.split('-') s,e = range.split('-')