Presentations
Templates
Features
Teams
Pricing
Log in
Sign up
Log in
Sign up
Menu
web
최소한은 이것만 알고 시작하자!(2)
HTTP 문서 구조
Start Line
Header
Blank Line
Body
Http method
GET: 리소스 취득 =>
멱등. 안전.
POST: 서브 리소스의 작성, 리소스 데이터의 추가, 그 밖의 처리
=> 멱등하지 않음. 안전하지 않음
PUT: 리소스 갱신, 리소스 작성 =>
멱등. 안전하지 않음
DELETE: 리소스 삭제 =>
멱등. 안전하지 않음
HEAD: 리소스의 헤더(메타데이터) 취득 =>
멱등. 안전.
OPTIONS: 리소스가 서포트하는 메서드의 취즉
TRACE: 자기 앞으로 요청 메시지를 반환(루프백) 시험
CONNECT: 프록시 동작의 터널 접속으로 변경
HTTP Status code
1xx: 처리중
2xx: 성공
3xx: 리다이렉트
4xx: 클라이언트 에러
5xx: 서버 에러
http status code registry
http header
message-header = field-name ":" [ field-value ]
http message spec 참조
주로 사용하는 field
Date
Content-Type /
Content-Language /
Content-Length
Accept /
Accept-Charset
WWW-Authenticate /
Authorization
Pragma / Expires / Cache-Control
If-Modified-Since / Last-Modified / If-None-Match / ETag
web
By bbugguj
Made with Slides.com
web
458
bbugguj
More from
bbugguj