Skip to Content
HTTP 완벽 가이드
book

HTTP 완벽 가이드

by David Gourlry, Brian Totty, Lee Eung Jun, Sang -Il Jeong, Anshu Agarwal, Seilu Reddy, Marjorie Sayre
May 2022
Beginner to intermediate
756 pages
21h 30m
Korean
Insight
Content preview from HTTP 완벽 가이드
419
15
장 엔터티와 인코딩
The Definitive Guide
는 경우가 있다. 예를 들어 서버는 크고 자주 찾는 캐시된 문서에 대해, 캐시의 재
검사로 인한 대량 전송을 유발하지 않으면서 겉모양새만 약간 고치고 싶을 수도 있
다. 이 경우, 서버는 태그 앞에 ‘W/’를 붙임으로써 ‘약한’ 엔터티 태그임을 알린다.
약한 엔터티 태그는 엔터티의 의미상 두드러진 변화에만 사용할 수 있다. 강한 엔
터티 태그는 관련된 엔터티 값이 아무리 사소하게 바뀌었더라도 함께 변경되어야
한다.
다음의 예는 어떻게 클라이언트가 약한 엔터티 태그를 사용해서 서버와 재검사
를 하는지 보여준다. 서버는 콘텐츠가 문서 버전 4.0 이후로 의미 있는 변경이 있었
을 때만 본문을 반환할 것이다.
GET /announce.html HTTP/1.1
If-None-Match: W/"v4.0"
요약하면, 클라이언트가 같은 리소스에 한 번 이상 접근했을 때, 우선 현재 사본이
여전히 신선한지 판별한다. 만약 그렇지 않다면, 클라이언트는 반드시 서버로부터
최신 버전을 얻어 와야 한다. 리소스가 변경되지 않은 상황에서 똑같은 사본을 다
시 받아오는 상황을 피하기 위해, 클라이언트는 서버에 현재 사본을 유일하게 식별
할 수 있는 검사기를 명시해서 조건부 요청을 보낼 수 있다. 서버는 오직 클라이언
트의 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

몽고DB 완벽 가이드(3판): 실전 예제로 배우는 NoSQL 데이터베이스 기초부터 활용까지

몽고DB 완벽 가이드(3판): 실전 예제로 배우는 NoSQL 데이터베이스 기초부터 활용까지

김인범, 크리스티나 초도로우, 섀넌 브래드쇼, 오언 브라질

Publisher Resources

ISBN: 9788966261208