-
There are extensive configurations possible with YARP to proxy the requests. But, I found configuration/testing can be challenging with increasing number of routes and hosts with complex match settings. It can be challenging when trying it with hostnames in the test environment. It can sometimes takes lots of trial and error approach on a server with live domains pointing to it. Proposal |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
It's an interesting idea. You'd be able to capture this information by submitting a real request directly to the server (with a fake host) and using either a proxy middleware or better yet, shimming out the HttpClient at the end of the pipeline to capture the outgoing proxy request after all of the transforms have run. It would short circuit and return the data to the caller in the http response. I'll experiment and see if that's viable. |
Beta Was this translation helpful? Give feedback.
It's an interesting idea. You'd be able to capture this information by submitting a real request directly to the server (with a fake host) and using either a proxy middleware or better yet, shimming out the HttpClient at the end of the pipeline to capture the outgoing proxy request after all of the transforms have run. It would short circuit and return the data to the caller in the http response. I'll experiment and see if that's viable.