获取header中content-type的值

后台传过来的值需要根据content-Type的值来判定成功与否

获取header中content-Tyep的值 用res.header['Content-Type']

 

猜你喜欢

转载自www.cnblogs.com/linsx/p/9255843.html
今日推荐