diff options
Diffstat (limited to 'src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs')
-rw-r--r-- | src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs b/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs index abae05c865..9cc4a03ebc 100644 --- a/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs +++ b/src/Hosting/Hosting/src/Internal/HostingRequestStartingLog.cs @@ -44,7 +44,7 @@ internal sealed class HostingRequestStartingLog : IReadOnlyList<KeyValuePair<str if (_cachedToString == null) { var request = _request; - _cachedToString = $"{LogPreamble}{request.Protocol} {request.Method} {request.Scheme}://{request.Host.Value}{request.PathBase.Value}{request.Path.Value}{request.QueryString.Value} {EscapedValueOrEmptyMarker(request.ContentType)} {ValueOrEmptyMarker(request.ContentLength)}"; ; + _cachedToString = $"{LogPreamble}{request.Protocol} {request.Method} {request.Scheme}://{request.Host.Value}{request.PathBase.Value}{request.Path.Value}{request.QueryString.Value} {EscapedValueOrEmptyMarker(request.ContentType)} {ValueOrEmptyMarker(request.ContentLength)}"; } return _cachedToString; |