Http3 (QPack) supports a static list of headers that can be used for compression. This is implemented today for decoding request headers but not when encoding response headers.
We support the same feature for Http/2 here:
|
internal static int GetResponseHeaderStaticTableId(KnownHeaderType responseHeaderType) |
|
{ |
|
switch (responseHeaderType) |
|
{ |
|
case KnownHeaderType.CacheControl: |
|
return H2StaticTable.CacheControl; |
Http3 (QPack) supports a static list of headers that can be used for compression. This is implemented today for decoding request headers but not when encoding response headers.
We support the same feature for Http/2 here:
aspnetcore/src/Servers/Kestrel/Core/src/Internal/Http2/Http2HeaderEnumerator.cs
Lines 145 to 150 in b9efadc