This page was translated from English by the community.Learn more and join the MDN Web Docs community.
307 Temporary Redirect
HTTP307 Temporary Redirect 리다이렉트 상태 응답 코드는 요청한 리소스가Location 헤더에 주어진 URL 로 임시로 옮겨졌다는 것을 나타냅니다.
원래 요청한 메소드와 Body 를 재사용하여 요청을 리다이렉트 합니다. 여기서 메소드를GET으로 바꾸기 위해서303 See Other를 사용하시면 됩니다. 이것은PUT요청에 업로드된 리소스가 아닌 "You successfully uploaded XYZ"와 같은 확인메시지 응답을 제공 하는데에 유용합니다.
307과302가 유일하게 다른점은307은 Method 와 Body 를 변경하지 않고 리다이렉트 요청을 하도록 보장합니다.302응답으로 인하여 일부 오래된 클라이언트들은 메소드를GET으로 틀리게 변경하였습니다. GET이 아닌 다른 메소드에302동작은 웹에서 예상되지 않지만307 동작은 예상할수 있습니다. GET 요청에 대해서는 동일하게 동작 합니다.
In this article
상태
307 Temporary Redirect
명세
| Specification |
|---|
| HTTP Semantics> # status.307> |
브라우저 호환성
>같이 보기
302 Found, the equivalent of this status code, but that may change the method used when it is not aGET.303 See Other, a temporary redirect that changes the method used toGET.301 Moved Permanently, a permanent redirect