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

Update request parameter to make ":" in path optional #201

Closed
tsandall opened this issue Dec 20, 2016 · 0 comments
Closed

Update request parameter to make ":" in path optional #201

tsandall opened this issue Dec 20, 2016 · 0 comments

Comments

@tsandall
Copy link
Member

tsandall commented Dec 20, 2016

It would be nice if the request parameter value did not require a ":" character to indicate the start of the value. It should be possible to check if the value starts with ":" and parse accordingly. This is only a small change in server.go:parseRequest function (along with an update to the REST API docs).

tsandall added a commit to tsandall/opa that referenced this issue Dec 21, 2016
Make the ":" in the request parameter value optional. Typical use case will
be for callers to supply the entire request value in one parameter.

Fixes open-policy-agent#201
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

1 participant