gpt4 book ai didi

ajax - 在IE中,jquery的 "X-Requested-With"头变成 "x-requested-with"(小写)

转载 作者:行者123 更新时间:2023-12-03 22:08:03 24 4
gpt4 key购买 nike

为什么要转换为小写?在 Firefox 中,它的形式为:“X-Requested-With”。在 IE 中,它是:“x-requested-with”

最佳答案

根据 RFC 2616,HTTP 方法应该区分大小写,但 HTTP header 应该不区分大小写。 。

关于ajax - 在IE中,jquery的 "X-Requested-With"头变成 "x-requested-with"(小写),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1130297/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com