We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Requesting e.g. /stream-bytes/131072 or /bytes/131072 returns status 200 but the length of the returned content is 102400 bytes.
/stream-bytes/131072
/bytes/131072
200
102400
OTOH /range/131072 returns status 404 with the following error msg: number of bytes must be in the range (0, 102400].
/range/131072
404
number of bytes must be in the range (0, 102400]
I believe the latter is correct. /bytes/:n and /stream-bytes/:n should behave consistently with /range/:n.
/bytes/:n
/stream-bytes/:n
/range/:n
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Requesting e.g.
/stream-bytes/131072
or/bytes/131072
returns status200
but the length of the returned content is102400
bytes.OTOH
/range/131072
returns status404
with the following error msg:number of bytes must be in the range (0, 102400]
.I believe the latter is correct.
/bytes/:n
and/stream-bytes/:n
should behave consistently with/range/:n
.The text was updated successfully, but these errors were encountered: