gpt4 book ai didi

google-chrome - Chrome : Basic Auth image requests return 401, 但直接调用时不是

转载 作者:行者123 更新时间:2023-12-03 04:34:56 26 4
gpt4 key购买 nike

Chrome 针对基本身份验证的 IMG-url 抛出 401 限制性错误,类似于 http://user:pass@path.to/image ,但之前没有使用相同的资源和代码执行此操作。当直接调用时,如“在新选项卡中打开”中,图像加载顺利。我很困惑。有什么想法吗?

最佳答案

来自 Chrome issue :

cbentzel@chromium.org wrote:
This is an intentional change - there are lots of security/compatibility tradeoffs that we have to make when tightening up browser security and in this case the decision was made that the compatibility risk was worth it

关于google-chrome - Chrome : Basic Auth image requests return 401, 但直接调用时不是,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19244006/

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