dotnet / aspnetcore

ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.
https://asp.net
MIT License
35.3k stars 9.96k forks source link

[ANCM In-Proc] [HttpSys] Support for custom decoder in headers #23491

Open halter73 opened 4 years ago

halter73 commented 4 years ago

Same as #17400 but for ANCM In-Proc and HttpSysServer. For consistency, we should probably make the API similar to what it is in Kestrel.

public Func<string, Encoding?> RequestHeaderEncodingSelector { get; set; }
Tratcher commented 4 years ago

And do HttpSys while we're at it. They share a lot of the same internal infrastructure here.

ghost commented 4 years ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

Tratcher commented 2 years ago

Half way there: latin1 https://github.com/dotnet/aspnetcore/blob/a262df2273859a2f69915477b3ae1b948c077ac2/src/Servers/HttpSys/src/HttpSysOptions.cs#L239