8 references to ContentLength
System.Net.Http (8)
System\Net\Http\Headers\HttpContentHeaders.cs (3)
39
object? storedValue = GetSingleParsedValue(KnownHeaders.
ContentLength
.Descriptor);
51
SetParsedValue(KnownHeaders.
ContentLength
.Descriptor, (object)calculatedLength.Value);
68
SetOrRemoveParsedValue(KnownHeaders.
ContentLength
.Descriptor, value); // box long value
System\Net\Http\Headers\KnownHeaders.cs (1)
305
case 'c': return
ContentLength
; // [C]ontent-Length
System\Net\Http\Headers\QPackStaticTable.cs (1)
16
(new HeaderDescriptor(KnownHeaders.
ContentLength
), "0"), // 4
System\Net\Http\SocketsHttpHandler\Http2Connection.cs (2)
1460
if (knownHeader == KnownHeaders.
ContentLength
&& request.IsExtendedConnectRequest)
1551
WriteBytes(KnownHeaders.
ContentLength
.Http2EncodedName, ref headerBuffer);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
517
(KnownHeaders.
ContentLength
.Descriptor, Array.Empty<byte>()),