HTTP #2

JooH·2025년 2월 27일

네트워크

목록 보기
13/15

General Headers

  • 클라이언트와 서버 양측에서 모두 사용
    • Date : Sat, 15 Feb 2025 11:11:11 GMT
  • 주요 헤더
    • Connection
    • Date
    • Transfer - Encoding
    • Upgrade
    • Cache-Control
    • Pragma

Request Header

  • 클라이언트가 사용
    • 예) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
  • 주요 헤더
    • Client - IP
    • Host : HTTP/1.1 필수헤더
    • Referer
    • Accept
    • Accept-Charset
    • Accept-Encoding
    • Accept-Language
    • Cookie

Response Header

  • 서버에서 사용
    • Server: SimpleHTTP/0.6 Python/2.7.13
  • 주요 헤더
    • Server
    • Set-Cookie

Entity Headers

  • 엔티티 본문에 대한 헤더
    • Content-type: text/html
  • 주요 헤더
    • Location
    • Content-Length
    • Content-Type
    • ETag
    • Expires
    • Last-Modified

0개의 댓글