获取header中content-type的值

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

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

 
posted @ 2018-07-02 21:24  boyanh  阅读(686)  评论(0编辑  收藏  举报