0

我正在使用 VPN 连接到我的服务器并发送 jquery ajax 请求。当 VPN 连接丢失时,ajax 的行为如何?

4

1 回答 1

2

Pretty much the same behavior as other HTTP requests: the request ends with Not-Found HTTP 404 error code! The XMLHttpRequest's onreadystate event also fires with the Not-Found status code.

于 2012-04-13T06:52:37.230 回答