发送URL长度约为4950个字符的请求。带有大量参数的Ajax GET请求出错
得到以下XMLHTTPRequest.ResponseText:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: ##my long url##
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
但是当我在浏览器中输入相同的URL,它工作得很好。我检查了可能的错误(在响应文本中列出) - 一切正常。
当参数的数量少于200时,脚本就起作用,所以线索必须在一定范围内。另一方面,在apache或php或js中没有任何设置。
任何建议或我应该在哪里看(解决方案的一些额外的配置或其他)?
谢谢Pekka。只是为了记录:它在Chrome中也不起作用=) – whn 2011-01-28 15:00:58