Feature request: Being able to determine if a request has matched a reverse proxy route in middleware #2164
Labels
Type: Enhancement
New feature or request
Milestone
I have a middleware (outside of the reverse proxy world) that needs to do some stuff. I do not want to do this stuff if the current request is getting proxied. The only way I have found to reliably determine this is like this:
I feel slightly not at ease doing it this way. Not sure if it's correct or if things might break in upcoming versions.
Kind regards, Emil
Edit: This does not work for MapForwarder(...)
The text was updated successfully, but these errors were encountered: