Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetTransferEncodingChunked()

static ? bool System.Net.Http.Headers.HttpGeneralHeaders.GetTransferEncodingChunked ( HttpHeaders parent,
HttpGeneralHeaders headers )
inlinestaticpackage

Definition at line 199 of file HttpGeneralHeaders.cs.

200 {
201 if (headers?._transferEncoding != null)
202 {
203 if (headers._transferEncoding.IsSpecialValueSet)
204 {
205 return true;
206 }
207 }
208 else if (parent.ContainsParsedValue(KnownHeaders.TransferEncoding.Descriptor, HeaderUtilities.TransferEncodingChunked))
209 {
210 return true;
211 }
212 if (headers != null && headers._transferEncodingChunkedSet)
213 {
214 return false;
215 }
216 return null;
217 }
HttpHeaderValueCollection< TransferCodingHeaderValue > _transferEncoding

References System.Net.Http.Headers.HttpGeneralHeaders._transferEncoding, System.Net.Http.Headers.HttpGeneralHeaders._transferEncodingChunkedSet, System.Net.Http.Headers.HttpHeaders.ContainsParsedValue(), System.Net.Http.Headers.KnownHeaders.TransferEncoding, and System.Net.Http.Headers.HeaderUtilities.TransferEncodingChunked.