应用程序返回 400,因为它大约有 3 个 cookie 4k bytes。我试图max-http-header-size在运行应用程序时设置属性angular cli。( ng serve)
该应用程序在生产中运行时按预期工作。
技术:
angular CLI: 8.1.3
asp.net core 2.1.3
Run Code Online (Sandbox Code Playgroud)
尝试运行node --max-http-header-size=14000但它不起作用。