다음을 통해 공유


IAcceptsMetadata.ContentTypes 속성

정의

허용된 요청 콘텐츠 형식의 목록을 가져옵니다. 들어오는 요청에 Content-Type 포함되고 콘텐츠 형식이 이러한 값 중 하나가 아닌 경우 요청은 415 응답으로 거부됩니다. 들어오는 요청에 Content-Type 헤더가 포함되어 있지 않으면 콘텐츠 형식 검사가 무시됩니다.

public System.Collections.Generic.IReadOnlyList<string> ContentTypes { get; }
member this.ContentTypes : System.Collections.Generic.IReadOnlyList<string>
Public ReadOnly Property ContentTypes As IReadOnlyList(Of String)

속성 값

적용 대상