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.
HTTP 헤더1 - 일반헤더
HTTP 헤더 개요
HTTP 헤더의 용도
HTTP 헤더의 분류
HTTP BODY (과거)
HTTP BODY (최신)
표현
Content-Type : 표현 데이터의 형식 설명
test/html; charset=utf-8application/jsonimage/pngContent-Encoding : 표현 데이터 인코딩
gzip,deflate,identityContent-Language : 표현 데이터의 자연 언어
ko,en,en-USContent-Length : 표현 데이터 길이
콘텐츠 협상
협상(콘텐츠 네고시에이션) : 클라이언트가 선호하는 표현 요청
Accept-Language 적용 전
Accept-Language 적용 후
Accept-Language 복잡한 예시
협상과 우선순위1
협상과 우선순위2
협상과 우선순위3
전송 방식
단순 전송
압축 전송
분할 전송
범위 전송
일반 정보
Form : 유저 에이전트의 이메일 정보
Referer : 이전 웹 페이지 주소
User-Agent : 유저 에이전트 애플리케이션 정보
Server : 요청을 처리하는 ORIGIN 서버의 소프트웨어 정보
Date : 메시지가 발생한 날짜와 시간
특별한 정보
Host : 요청한 호스트 정보 (도메인)
Location : 페이지 리다이렉션
Allow : 허용가능한 HTTP 메서드
Retry-After : 유저 에이전트가 다음 요청을 하기까지 기다려야 하는 시간
인증
Authorization: 클라이언트 인증 정보를 서버에 전달
WWW-Authenticate: 리소스 접근시 필요한 인증 방법 정의
쿠키
쿠키 미 사용
Stateless
쿠키 미 사용 - 대안
쿠키 사용
쿠키 - 생명주기
Set-Cookie: expires=Sat, 26-Dec-2020 04:39:21 GMTSet-Cookie: max-age=3600 (3600초)쿠키 - 도메인
쿠키 - 경로
쿠키 - 보안
🔗 출처
All reactions