我正在尝试将用户发送到网站上预先填充的页面,但在允许之前,网站似乎需要事先访问。在第一页上加载403 Forbidden错误,但是在后续加载时它可以正常工作。
我认为这是某种类型的安全功能,有没有办法绕过它并将用户发送到此页面而不会出错?
重新制作:
首次加载时,您会收到提醒:
The page encountered an error processing your request.
控制台说:
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
inprivate.htm
HTML1300: Navigation occurred.
results
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
inprivate.htm
HTML1514: Extra "<body>" tag found. Only one "<body>" tag should exist per document.
results (67,1)
HTML1424: Invalid character
results (2366,108)
HTML1424: Invalid character
results (2366,191)
HTML1521: Unexpected "</body>" or end of file. All open elements should be closed before the end of the document.
results (4099,522)
ajax error: 403 Forbidden; Requested URL: /ual/en/us/flight-search/book-a-flight/flightshopping/getflightresults/rev
SCRIPT7002: XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff.
results.
我尝试了以下解决方案,没有一个有效:
任何帮助都将不胜感激。
答案 0 :(得分:0)
在firefox(59.0.1 64bit),chrome(65.0.3325.181)和ie(11)中尝试过。
只是因为有一个错误,“页面遇到处理您的请求的错误” - 但点击确定一切似乎让我工作得很好。 ok 2 of 4次出现错误。