Skip to content

[Kestrel] Support for custom decoder in headers #17400

@analogrelay

Description

@analogrelay

Follow up from #17399

In 5.0 we want to provide a hook to use a custom decoder for headers. A System.Text.Encoding.Encoder is probably not quite sufficient since the codec may want to see the header name in order to make decisions. A strawman API would be something like this:

string Decode(string headerName, ReadOnlySpan<byte> headerBytes);

Metadata

Metadata

Assignees

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-kestrelfeature-yarpThis issue is related to work on yarp

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions