HttpResponseMessage.TrailingHeaders 속성

정의

HTTP 응답에 포함된 후행 헤더의 컬렉션을 가져옵니다.

public:
 property System::Net::Http::Headers::HttpResponseHeaders ^ TrailingHeaders { System::Net::Http::Headers::HttpResponseHeaders ^ get(); };
public System.Net.Http.Headers.HttpResponseHeaders TrailingHeaders { get; }
member this.TrailingHeaders : System.Net.Http.Headers.HttpResponseHeaders
Public ReadOnly Property TrailingHeaders As HttpResponseHeaders

속성 값

HTTP 응답의 후행 헤더 컬렉션입니다.

예외

PROTOCOL_ERROR: HTTP/2 응답은 후행 헤더 프레임에 의사 헤더를 포함합니다.

설명

사용할 수 없는 헤더는 무시됩니다.

후행 헤더는 응답 메시지 TrailingHeaders 의 끝에 추가된 HTTP 헤더로 전송되므로 속성은 액세스하고 응답 콘텐츠를 완전히 읽지 않은 경우 빈 HttpResponseHeaders instance 반환합니다.

후행 헤더에 대한 자세한 내용은 RFC 7230 - 4.1.2를 참조하세요. 청크 트레일러 파트.

적용 대상