HttpResponseMessage.TrailingHeaders Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the collection of trailing headers included in an HTTP response.
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
Property Value
The collection of trailing headers in the HTTP response.
Exceptions
PROTOCOL_ERROR: The HTTP/2 response contains pseudo-headers in the Trailing Headers Frame.
Remarks
Forbidden headers will be ignored.
Since trailing headers are sent as an HTTP header appended at the end of the response message, the TrailingHeaders
property returns an empty HttpResponseHeaders instance if it is accessed and the response content has not been read completely.
For additional information on trailing headers, see RFC 7230 - 4.1.2. Chunked Trailer Part.
Applies to
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir