获取header中content-type的值

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

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

 
原文地址:https://www.cnblogs.com/linsx/p/9255843.html