When the request is Range: bytes=792-1955, the response should be Content-Range: bytes 792-1955/*.
I think there was a problem with this code, and after deleting the - 1 from {end - 1} everything worked fine.
Environment:
Python version:3.12.2
Werkzeug version:3.0.1
==edited==
I also noticed that it adds 1 to the end when it receives a request, but it looks like the end after this addition is not passed to the response, so I fixed the problem superficially after I removed the -1.
So I think maybe this is a problem caused by quart.
When my request header is
Range: bytes=792-1955
, the response header isbytes 792-1954/*
, which is not correct.When the request is
Range: bytes=792-1955
, the response should beContent-Range: bytes 792-1955/*
.I think there was a problem with this code, and after deleting the
- 1
from{end - 1}
everything worked fine.Environment:
==edited== I also noticed that it adds 1 to the
end
when it receives a request, but it looks like theend
after this addition is not passed to the response, so I fixed the problem superficially after I removed the -1. So I think maybe this is a problem caused byquart
.