当用户没有权限时,我的服务器返回403:
HTTP/1.1 403 Forbidden
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 41
Content-Type: text/plain; charset=utf-8
Expires: -1
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Fri, 04 Oct 2013 03:44:47 GMT
You do not have the necessary permission.
我从微风中得到以下错误:
“Uncaught SyntaxError:Unexpected token Y”
从这里开始:
function extractErrors(XHR) {
if (!XHR.responseText) return null;
var responseObj = JSON.parse(XHR.responseText);
return responseObj && responseObj.EntityErrors;
}
这是一个错误吗?