Horizon 8에서는 기본적으로 다음의 선언된 컨텐츠 유형에 대한 요청만 수락합니다.
- application/x-www-form-urlencoded
- application/xml
- text/xml
참고: 이전 릴리스에서는 기본적으로 이 보호가 비활성화되어 있습니다.
Horizon 8에서 수락하는 콘텐츠 유형을 제한하려면 locked.properties 파일에 다음 항목을 추가합니다.
acceptContentType.1=content-type
예:
acceptContentType.1=x-www-form-urlencoded
다른 콘텐츠 유형을 수락하려면 acceptContentType.2=content-type 등의 항목을 추가합니다.
선언된 모든 콘텐츠 유형에 대한 요청을 수락하려면 acceptContentType=*를 지정합니다.
이 페이지가 도움이 되었나요?