본문 바로가기
Programming/Web

HTTP 주요 응답 상태 코드

by NAMP 2010. 1. 5.

 2010/01/05 14:48:48  

HTTP 프로토콜은 응답 상태 코드를 이용해서 서버의 처리 결과를 웹 브라우저에 알려주며, 주요 응답 상태 코드로는 다음과 같은 것들이 있다.

  • 200 - 요청이 정상적으로 처리됨
  • 307 - 임시로 페이지가 리다이렉트됨
  • 400 - 클라이언트의 요청이 잘못된 구문으로 구성됨
  • 401 - 접근이 허용되지 않음
  • 404 - 지정된 URL 을 처리하기 위한 자원이 존재하지 않음
  • 405 - 요청된 메서드는 허용되지 않음
  • 500 - 서버 내부 에러, 예를 들어, JSP 에서 예외가 발생하는 경우가 해당된다.
  • 503 - 서버가 일시적으로 서비스를 제공할 수 없음. 급격하게 부하가 몰리거나 서버가 임시 보수 중인 경우가 해당된다.

 

http://www.w3.org/protocols/rfc2616/rfc2616-sec6.html#sec6.1.1

 

The first digit of the Status-Code defines the class of response. The last two digits do not have any categorization role. There are 5 values for the first digit:

      - 1xx: Informational - Request received, continuing process
      - 2xx: Success - The action was successfully received,
        understood, and accepted
      - 3xx: Redirection - Further action must be taken in order to
        complete the request
      - 4xx: Client Error - The request contains bad syntax or cannot
        be fulfilled
      - 5xx: Server Error - The server failed to fulfill an apparently
        valid request
 

이 글은 스프링노트에서 작성되었습니다.

'Programming > Web' 카테고리의 다른 글

HTML 태그 비활성화 (disabled Attribute) 또는 읽기 전용 (readonly Attribute)  (0) 2016.09.23
[Vimium] 사용중인 Vimium 추가 키 맵핑  (0) 2016.04.27
안테나  (0) 2009.05.10
Web&DB port  (0) 2009.05.06
Server-Cookie  (0) 2009.05.05

댓글