You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
섹션6. HTTP 상태 코드
1. 상태 코드 소개
클라이언트가 보낸 요청의 처리 상태를 응답에서 알려주는 기능
2. 1xx (Informational)
요청이 수신되어 처리중
거의 사용하지 않음
3. 2xx - 성공
클라이언트의 요청을 성공적으로 처리
200 ok
201 created
202 accepted
204 no content
4. 3xx - 리다이렉션
요청을 완료하기 위해 유저 에이전트의 추가 조치 필요
리다이렉션 이해
웹 브라우저는 3xx 응답의 결과에 Location 헤더가 있으면, 로케이션 위치로 자동 이동한다
종류
영구 리다이렉션
일시 리다이렉션
특수 리다이렉션
5. 4xx - 클라이언트 오류, 5xx - 서버 오류
4xx 클라이언트 오류
400 Bad Request
클라이언트가 잘못된 요청을 해서 서버가 요청을 처리할 수 없음
401 Unauthorized
클라이언트가 해당 리소스에 대한 인증이 필요함(인증되지 않음)
403 Forbidden
서버가 요청을 이해했지만 승인을 거부함(인증 자격 증명은 있지만 접근 권한이 불충분한 경우)
404 not Found
요청 리소스를 찾을 수 없음( 요청 리소스가 서버에 없음)
5xx 서버 오류
500 Internal Server Error
서버 내부 문제로 오류 발생, 애매하면 500 오류
503 Service Unavailable
서비스 이용 불가, 일시적 과부하 또는 예정된 작업으로 잠시 요청 처리 불가
All reactions