You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could add this as an option to the current configuration but I think that would make an already complex-looking configuration even weirder. So I propose this as a breaking change to be included in the upcoming 3.0 release.
Implementation notes
Take a look at lib/rig_inbound_gateway/api_proxy/handler/http.ex
The text was updated successfully, but these errors were encountered:
When in the reverse-proxy configuration a route has target
http
and theresponse_from
option is present, the synchronous response is dropped.The idea is to make this more flexible:
response_from
was not setThis way, a microservice can return a cached response or an error immediately:
We could add this as an option to the current configuration but I think that would make an already complex-looking configuration even weirder. So I propose this as a breaking change to be included in the upcoming 3.0 release.
Implementation notes
Take a look at
lib/rig_inbound_gateway/api_proxy/handler/http.ex
The text was updated successfully, but these errors were encountered: