Allow overriding the host header if doesn't match the absolute-form host (#39334)
* Allow overriding the host header if doesn't match the absolute-form host
* Apply suggestions from code review
Co-authored-by:
Stephen Halter <halter73@gmail.com>
显示
- src/Servers/Kestrel/Core/src/Internal/Http/Http1Connection.cs 16 个添加, 1 个删除...Servers/Kestrel/Core/src/Internal/Http/Http1Connection.cs
- src/Servers/Kestrel/Core/src/KestrelServerOptions.cs 15 个添加, 0 个删除src/Servers/Kestrel/Core/src/KestrelServerOptions.cs
- src/Servers/Kestrel/test/InMemory.FunctionalTests/BadHttpRequestTests.cs 25 个添加, 0 个删除...trel/test/InMemory.FunctionalTests/BadHttpRequestTests.cs
加载中
想要评论请 注册 或 登录