Skip to content
New issue

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

bug: input.RangeStart and input.RangeEnd should can be equal. #12

Open
travislee89 opened this issue Nov 26, 2021 · 1 comment
Open

Comments

@travislee89
Copy link

travislee89 commented Nov 26, 2021

if input.RangeStart >= 0 && input.RangeEnd > input.RangeStart {

https://datatracker.ietf.org/doc/html/rfc7233#section-2.1
Based on the definition of RFC 7233, allow to get a single byte, such as 0-0

@travislee89 travislee89 changed the title bug: input.RangeStart and input.RangeEnd can be equal. bug: input.RangeStart and input.RangeEnd should can be equal. Nov 26, 2021
@noaccident
Copy link
Collaborator

您好,非常感谢您的反馈,该问题会随着下个版本修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants