Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的应用程序中有一个奇怪的问题,它只发生在 Safari 浏览器中。
在以 204 成功状态完成 DELETE 请求后,以下请求(可能是 PUT、GET、任何类型)也得到 204 状态作为响应,而不是预期的 200。所有 next 请求都可以,只是 DELETE 之后的第一个请求有问题。
请注意,这种情况不会出现在任何其他浏览器中。
答案找到了。没有 Safari 奇怪的行为。问题在于请求兑现。