.netcore 报错: 414 uri too long 解决办法
services.Configure<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions>(options =>
{//414 uri too long
options.Limits.MaxRequestLineSize = int.MaxValue;
options.Limits.MaxRequestBufferSize = int.MaxValue;
});
https://stackoverflow.com/questions/39048189/asp-net-core-maxurllength/39049955#39049955
作者:xuejianxiyang
出处:http://xuejianxiyang.cnblogs.com
关于作者:Heaven helps those who help themselves.
本文版权归原作者和博客园共有,欢迎转载,但未经原作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。