This commit adds a query param to the proxy's /dumprequest endpoint that adds two debug headers, X-Proxy-Settable-Debug-Header and X-Proxy-Immutable-Debug-Header, and also copies the headers made to the proxy and sends them back in the response.
This is useful for checking how gorouter and other proxies handle forwarding and returning headers. I used this when I was working on acceptance for:
This commit adds a query param to the proxy's
/dumprequest
endpoint that adds two debug headers,X-Proxy-Settable-Debug-Header
andX-Proxy-Immutable-Debug-Header
, and also copies the headers made to the proxy and sends them back in the response.This is useful for checking how gorouter and other proxies handle forwarding and returning headers. I used this when I was working on acceptance for: