This is an example of memory-efficient implementation of req/res body logging for C#'s HttpClient. Configure max size of req/resp body that will be read as a string and logged Use constant-sized ...
We have a HAProxy setup that handles various domains and subpaths. For some paths we do a redirect with HTTP 307 status code, because we need the client to repeat POST request to a different endpoint.