Skip to content

Commit efc5698

Browse files
Updates product name in Via header (#802)
1 parent 754d625 commit efc5698

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-proxy/ProxyEngine.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ private async Task HandleRequest(SessionEventArgs e, ProxyRequestArgs proxyReque
550550
}
551551
}
552552

553-
private static void AddProxyHeader(Request r) => r.Headers?.AddHeader("Via", $"{r.HttpVersion} graph-proxy/{ProxyUtils.ProductVersion}");
553+
private static void AddProxyHeader(Request r) => r.Headers?.AddHeader("Via", $"{r.HttpVersion} dev-proxy/{ProxyUtils.ProductVersion}");
554554

555555
private bool IsProxiedHost(string hostName) => _hostsToWatch.Any(h => h.Url.IsMatch(hostName));
556556

0 commit comments

Comments
 (0)