Skip to content

Commit

Permalink
Changed streaming flag to empty string when no streaming request logg…
Browse files Browse the repository at this point in the history
…ed (#2200)
  • Loading branch information
marekott committed Jul 24, 2023
1 parent de437c7 commit 87511f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ReverseProxy/Forwarder/HttpForwarder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ public static void Proxying(ILogger logger, HttpRequestMessage msg, bool isStrea
// Avoid computing the AbsoluteUri unless logging is enabled
if (logger.IsEnabled(LogLevel.Information))
{
var streaming = isStreamingRequest ? "streaming" : "no-streaming";
var streaming = isStreamingRequest ? "streaming" : string.Empty;
var version = HttpProtocol.GetHttpProtocol(msg.Version);
var versionPolicy = ProtocolHelper.GetVersionPolicy(msg.VersionPolicy);
_proxying(logger, msg.RequestUri!.AbsoluteUri, version, versionPolicy, streaming, null);
Expand Down

0 comments on commit 87511f2

Please sign in to comment.