且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在角度应用中发布解析Content-Range标头的问题(返回null)

更新时间:2022-05-20 05:41:33

这里的问题实际上是在服务器端,我需要将内容范围添加到公开的标头中:

The issue here was actually on the server side, I needed to add content-range to the exposed headers:

 [EnableCors("http://localhost:3000", "*", "*", exposedHeaders: "Content-Range")]