korjun1993 / cs-book-study

책을 읽고 토론하며 컴퓨터과학을 공부하는 공간
0 stars 1 forks source link

헤더필드의 Accept와 Content-Type은 무엇을 의미하나요? #10

Open hoa0217 opened 1 year ago

hoa0217 commented 1 year ago

헤더필드의 Accept와 Content-Type은 무엇을 의미하나요?

sedin2 commented 1 year ago

:speech_balloon: Accept

:speech_balloon: Content-Type

korjun1993 commented 1 year ago

406 Not Acceptable: 클라이언트는 자신이 어떤 종류의 엔터티를 받아들이고자 하는지에 대해 매개변수(Accept헤더필드)로 명시할 수 있다. 이 코드는 주어진 URL에 대한 리소스 중 클라이언트가 받아들일 수 있는 것이 없는 경우 사용한다.