当前位置:问百书>百科知识>302 Found是什么意思

302 Found是什么意思

2023-03-31 04:28:41 编辑:join 浏览量:567

302 Found是什么意思

302 Found 是HTTP协议中的一个状态码(Status Code),可以简单的理解为该资源原本确帆宏实存轮轿纳在,但已经被临时改变了位置;或者换个说法,就是临时的存在于某个临时URL下。通腊没常会发送Header来暂时重定向到新的新位置。  官方给出的英语解释为:  The requested resource resides temporarily under a different URI. Since the redirection might be altered on occasion, the client SHOULD continue to use the Request-URI for future requests. This response is only cacheable if indicated by a Cache-Control or Expires header field.  The temporary URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).  If the 302 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.

标签:Found

版权声明:文章由 问百书 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.wenbaishu.com/article/72124.html
热门文章
二维码