From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/web/http/methods/head/index.html | 77 +++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 files/ko/web/http/methods/head/index.html (limited to 'files/ko/web/http/methods/head/index.html') diff --git a/files/ko/web/http/methods/head/index.html b/files/ko/web/http/methods/head/index.html new file mode 100644 index 0000000000..b5222ce97a --- /dev/null +++ b/files/ko/web/http/methods/head/index.html @@ -0,0 +1,77 @@ +--- +title: HEAD +slug: Web/HTTP/Methods/HEAD +tags: + - HTTP + - HTTP method + - Reference +translation_of: Web/HTTP/Methods/HEAD +--- +
{{HTTPSidebar}}
+ +

HTTP HEAD 메서드는 특정 리소스를 {{httpmethod("GET")}} 메서드로 요청했을 때 돌아올 헤더를 요청합니다.

+ +

HEAD 메서드에 대한 응답은 본문을 가져선 안되며, 본문이 존재하더라도 무시해야 합니다. 그러나, {{httpheader("Content-Length")}}처럼 본문 콘텐츠를 설명하는 {{glossary("entity header", "개체 헤더")}}는 포함할 수 있습니다. 이 때, 개체 헤더는 비어있어야 하는 HEAD의 본문과는 관련이 없고, 대신 {{httpmethod("GET")}} 메서드로 동일한 리소스를 요청했을 때의 본문을 설명합니다.

+ +

HEAD 요청의 응답이 캐시했던 이전 {{httpmethod("GET")}} 메서드의 응답을 유효하지 않다고 표시할 경우, 새로운 GET 요청을 생성하지 않더라도 캐시를 무효화합니다.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
요청에 본문 존재아니오
성공 응답에 본문 존재아니오
{{Glossary("Safe", "안전함")}}
{{Glossary("Idempotent", "멱등성")}}
{{Glossary("Cacheable", "캐시 가능")}}
HTML 양식에서 사용 가능아니오
+ +

구문

+ +
HEAD /index.html
+
+ +

명세

+ + + + + + + + + + + + +
SpecificationTitle
{{RFC("7231", "HEAD", "4.3.2")}}Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
+ +

브라우저 호환성

+ + + +

{{Compat("http.methods.HEAD")}}

+ +

같이 보기

+ + -- cgit v1.2.3-54-g00ecf