为什么jQuery为什么将具有空内容的200响应Ajax请求视为fail()? [英] Why jQuery consider an 200 response Ajax request with empty content as fail()?
本文介绍了为什么jQuery为什么将具有空内容的200响应Ajax请求视为fail()?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
首先,根本没有跨区域问题.
First, there's no cross-region problem at all.
我发现如果服务器响应的内容主体为空,则jQuery认为这是fail()吗?
I found if the server response an empty content body, jQuery consider this as fail()?
这是为什么?
推荐答案
查看全文