
HTTP란?
HTTP의 특징 (무상태성, 클라이언트-서버 모델, 요청/응답 구조)
URL vs. URI
GET, POST, PUT, DELETE, PATCH
OPTIONS, HEAD
안전한 메서드 vs. 멱등성
HTTP/1.0: 기본적인 요청/응답 방식, Keep-Alive 필요
HTTP/1.1: 기본적으로 Keep-Alive 활성화, Chunked Transfer Encoding, Host 헤더 필수
HTTP/1.2: 존재하지 않음 (1.1에서 2.0으로 바로 넘어감)
HTTP/2.0: Multiplexing, Header Compression (HPACK), Server Push
HTTP/3.0: QUIC 프로토콜 기반, TCP 대신 UDP 사용
Keep-Alive의 개념 및 필요성
HTTP/1.0 vs. HTTP/1.1에서의 Keep-Alive 차이
Connection: keep-alive vs. Connection: close
1xx (Informational): 요청 수락, 처리 진행 중
2xx (Success): 200 OK, 201 Created, 204 No Content
3xx (Redirection): 301 Moved Permanently, 302 Found, 304 Not Modified
4xx (Client Error): 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found
5xx (Server Error): 500 Internal Server Error, 502 Bad Gateway, 503 Service Unavailable
동일 출처 정책 (Same-Origin Policy)
Preflight 요청 (OPTIONS)
Access-Control-Allow-Origin
Access-Control-Allow-Methods
요청(Request) 헤더: User-Agent, Accept, Content-Type, Authorization
응답(Response) 헤더: Content-Length, Content-Encoding, Set-Cookie
보안 관련 헤더: CORS 관련 헤더, X-Frame-Options, X-XSS-Protection
캐시의 개념과 필요성
캐시 제어 방법
Cache-Control (no-cache, no-store, must-revalidate, max-age)
ETag, Last-Modified
쿠키(Cookie)의 개념과 역할
세션(Session)과 차이점
Secure, HttpOnly, SameSite 옵션
HTTP vs HTTPS
TLS/SSL 개념
HTTPS 동작 원리 (핸드셰이크 과정)
인증서 (SSL/TLS Certificates)