header里的location必须输绝对路径吗?
的有关信息介绍如下:
是的,location输出的东西直接传给浏览器,必需使用绝对地址,RFC明确的描述如下(http://www.faqs.org/rfcs/rfc2616):The field value consists of a single absolute URI. Location = "Location" ":" absoluteURI An example is: Location: http://www.w3.org/pub/WWW/People.html



