2023年4月5日

http请求头contentType和accept

摘要: Content-Type http使用请求头 Content-Type 告诉服务器端,这次请求数据的数据格式 http响应头里面也有 Content-Type ,这是服务器告知前端浏览器应该怎么去解析这个请求数据的。 使用Content-Type是告诉另外一端,我给你的数据是什么格式 Accept 阅读全文

posted @ 2023-04-05 01:08 zhangyukun 阅读(478) 评论(0) 推荐(0)

导航