8 references to ContentLength
System.Net.Http (8)
System\Net\Http\Headers\HttpContentHeaders.cs (3)
39object? storedValue = GetSingleParsedValue(KnownHeaders.ContentLength.Descriptor); 51SetParsedValue(KnownHeaders.ContentLength.Descriptor, (object)calculatedLength.Value); 68SetOrRemoveParsedValue(KnownHeaders.ContentLength.Descriptor, value); // box long value
System\Net\Http\Headers\KnownHeaders.cs (1)
305case '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)
1460if (knownHeader == KnownHeaders.ContentLength && request.IsExtendedConnectRequest) 1551WriteBytes(KnownHeaders.ContentLength.Http2EncodedName, ref headerBuffer);
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (1)
517(KnownHeaders.ContentLength.Descriptor, Array.Empty<byte>()),