-
Notifications
You must be signed in to change notification settings - Fork 184
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
allow proxy to route based on request method #3526
Conversation
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes. |
01d1a4b
to
2bee87b
Compare
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2bee87b
to
375c69f
Compare
💥 Acceptance test Core-API-Tests-ocis-storage-1 failed. Further test are cancelled... |
proxy/pkg/proxy/proxy.go
Outdated
@@ -124,6 +125,7 @@ func (p *MultiHostReverseProxy) directorSelectionDirector(r *http.Request) { | |||
return | |||
} | |||
|
|||
method := "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't fully wrap my head around this at the moment but shouldn't this be defined inside of the loop or at least be reset to an empty string at the beginning of the loop?
Kudos, SonarCloud Quality Gate passed! |
merged as part of #3635 |
We added a method property to proxy routes that allows routing requests to a different backend.
We need this to route
REPORT
requests to the ocis webdav service to implement search