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

Proxy: default to accepting any method #487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nox-4O4
Copy link

@nox-4O4 nox-4O4 commented Dec 5, 2022

Currently, only GET requests are allowed when the methods field is not specified. This does not match documented behaviour:

Client requests can also be routed depending on their
HTTP method by specifying the `methods` field. By default, Janus will route a
request to an API regardless of its HTTP method. But when this field is set,
only requests with the specified HTTP methods will be matched.

This PR makes the proxy default to accepting any method.

This matches documented behaviour
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

Successfully merging this pull request may close these issues.

None yet

1 participant