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

Range header field ABNF #196

Closed
reschke opened this issue Feb 1, 2019 · 3 comments
Closed

Range header field ABNF #196

reschke opened this issue Feb 1, 2019 · 3 comments
Assignees

Comments

@reschke
Copy link
Contributor

reschke commented Feb 1, 2019

The Range header field ABNF:

  Range = byte-ranges-specifier / other-ranges-specifier
  other-ranges-specifier = other-range-unit "=" other-range-set
  other-range-set = 1*VCHAR

This is another misguided attempt to restrict syntax using ABNF in presence of extension points.

For instance,

bytes=abc

matches other-ranges-specifier.

The proper fix for this is to rewrite the ABNF so it's properly layered - a generic one, plus an overlay for the only range unit we define.

@reschke
Copy link
Contributor Author

reschke commented Feb 1, 2019

@royfielding
Copy link
Member

I am very far down the rabbit hole on this one.

@royfielding
Copy link
Member

Fixed by 7594239

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

No branches or pull requests

2 participants